diff options
author | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-27 23:57:32 +0000 |
---|---|---|
committer | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-27 23:57:32 +0000 |
commit | 7eaa50bfd089421c7a968be951cfce9a1f74b34d (patch) | |
tree | 1c0f414f2dec0860d7042152d1cdd5eabbe50872 | |
parent | 4b7f6bd9916f332b409fba660bfefe0dd0306968 (diff) | |
download | chromium_src-7eaa50bfd089421c7a968be951cfce9a1f74b34d.zip chromium_src-7eaa50bfd089421c7a968be951cfce9a1f74b34d.tar.gz chromium_src-7eaa50bfd089421c7a968be951cfce9a1f74b34d.tar.bz2 |
Replace parameterless frame retrieval with explicit one.
R=levin
BUG=15597
TEST=no changes in layout tests.
Review URL: http://codereview.chromium.org/159448
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21748 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/api/src/WebBindings.cpp | 2 |
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; |