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

Unified Diff: Source/bindings/v8/V8MutationCallback.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/V8MutationCallback.cpp
diff --git a/Source/bindings/v8/V8MutationCallback.cpp b/Source/bindings/v8/V8MutationCallback.cpp
index 6618cc37cb342fb15cf26cb974f927e52c3afd09..d7a647f5e1aac90f5600510bb1302f40152e2a2b 100644
--- a/Source/bindings/v8/V8MutationCallback.cpp
+++ b/Source/bindings/v8/V8MutationCallback.cpp
@@ -44,7 +44,7 @@ void WeakHandleListener<V8MutationCallback>::callback(v8::Isolate*, v8::Persiste
V8MutationCallback::V8MutationCallback(v8::Handle<v8::Function> callback, ScriptExecutionContext* context, v8::Handle<v8::Object> owner, v8::Isolate* isolate)
: ActiveDOMCallback(context)
, m_callback(callback)
- , m_world(DOMWrapperWorld::current(context))
+ , m_world(DOMWrapperWorld::current())
{
owner->SetHiddenValue(V8HiddenPropertyName::callback(), callback);
WeakHandleListener<V8MutationCallback>::makeWeak(isolate, m_callback.get(), this);

Powered by Google App Engine
This is Rietveld 408576698