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

Unified Diff: Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp

Issue 14334002: Delete WorldContextHandle in favor of DOMWrapperWorld (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
Index: Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
diff --git a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
index a4ed4ac24136c94849308c457b9bb30ba0e48c12..7b8b4f9ed1f7b6e6d84b1410615543859b8fc0ce 100644
--- a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
+++ b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
@@ -214,7 +214,7 @@ static v8::Handle<v8::Array> getJSListenerFunctions(Document* document, const Ev
continue;
}
V8AbstractEventListener* v8Listener = static_cast<V8AbstractEventListener*>(listener.get());
- v8::Local<v8::Context> context = toV8Context(document, v8Listener->worldContext());
+ v8::Local<v8::Context> context = toV8Context(document, v8Listener->world());
// Hide listeners from other contexts.
if (context != v8::Context::GetCurrent())
continue;
« Source/bindings/v8/DOMWrapperWorld.cpp ('K') | « Source/bindings/v8/WorldContextHandle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698