Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: webkit/port/bindings/v8/v8_custom.cpp

Issue 113085: Split V8Proxy::retrieveActiveFrame() into two methods. (Closed)
Patch Set: Darin feedback Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/port/bindings/v8/ScriptController.cpp ('k') | webkit/port/bindings/v8/v8_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/port/bindings/v8/v8_custom.cpp
diff --git a/webkit/port/bindings/v8/v8_custom.cpp b/webkit/port/bindings/v8/v8_custom.cpp
index bf8cefc6e46753fbc779059647584799d20763d9..795e34f9093a495f2fc43a9b455f93bb9e685b41 100644
--- a/webkit/port/bindings/v8/v8_custom.cpp
+++ b/webkit/port/bindings/v8/v8_custom.cpp
@@ -1083,7 +1083,7 @@ ACCESSOR_SETTER(ElementEventHandler) {
// the document might be created using createDocument,
// which does not have a frame, use the active frame
if (!proxy)
- proxy = V8Proxy::retrieve(V8Proxy::retrieveActiveFrame());
+ proxy = V8Proxy::retrieve(V8Proxy::retrieveFrameForEnteredContext());
if (!proxy)
return;
« no previous file with comments | « webkit/port/bindings/v8/ScriptController.cpp ('k') | webkit/port/bindings/v8/v8_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698