summaryrefslogtreecommitdiffstats
path: root/webkit/api/src/WebBindings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/api/src/WebBindings.cpp')
-rw-r--r--webkit/api/src/WebBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/api/src/WebBindings.cpp b/webkit/api/src/WebBindings.cpp
index d6ee73d..da41c78 100644
--- a/webkit/api/src/WebBindings.cpp
+++ b/webkit/api/src/WebBindings.cpp
@@ -113,7 +113,7 @@ static bool getDragDataImpl(NPObject* npobj, int* eventId, WebDragData* data)
return false;
// Check the execution frames are same origin.
- V8Proxy* current = V8Proxy::retrieve(V8Proxy::retrieveFrame());
+ V8Proxy* current = V8Proxy::retrieve(V8Proxy::retrieveFrameForCurrentContext());
Frame* frame = V8Proxy::retrieveFrame(context);
if (!current || !current->canAccessFrame(frame, false))
return false;