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

Unified Diff: Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp

Issue 695773002: Move the v8::Isolate* parameter to the first parameter of various binding methods in third_party/We… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « Source/bindings/core/v8/custom/V8MessageChannelCustom.cpp ('k') | Source/bindings/templates/interface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
diff --git a/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp b/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
index b9100f16ac63abf68894db6f077371179339b0f5..6a4f778fadf4a1691d5f3b98edc15f9dc448ae5e 100644
--- a/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
@@ -63,7 +63,7 @@ void V8MutationObserver::constructorCustom(const v8::FunctionCallbackInfo<v8::Va
OwnPtr<MutationCallback> callback = V8MutationCallback::create(v8::Handle<v8::Function>::Cast(arg), wrapper, ScriptState::current(info.GetIsolate()));
RefPtrWillBeRawPtr<MutationObserver> observer = MutationObserver::create(callback.release());
- V8DOMWrapper::associateObjectWithWrapper<V8MutationObserver>(observer.release(), &wrapperTypeInfo, wrapper, info.GetIsolate());
+ V8DOMWrapper::associateObjectWithWrapper<V8MutationObserver>(info.GetIsolate(), observer.release(), &wrapperTypeInfo, wrapper);
info.GetReturnValue().Set(wrapper);
}
« no previous file with comments | « Source/bindings/core/v8/custom/V8MessageChannelCustom.cpp ('k') | Source/bindings/templates/interface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698