| Index: Source/bindings/v8/custom/V8MutationObserverCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8MutationObserverCustom.cpp b/Source/bindings/v8/custom/V8MutationObserverCustom.cpp
|
| index 12445611bc2d0d5629d048c4540ff5b4d04318b2..7fa9df1549c0ffcf4ca374e99a3ac987f5e0bff4 100644
|
| --- a/Source/bindings/v8/custom/V8MutationObserverCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8MutationObserverCustom.cpp
|
| @@ -57,10 +57,9 @@ void V8MutationObserver::constructorCustom(const v8::FunctionCallbackInfo<v8::Va
|
| return;
|
| }
|
|
|
| - ExecutionContext* context = currentExecutionContext(info.GetIsolate());
|
| v8::Handle<v8::Object> wrapper = info.Holder();
|
|
|
| - OwnPtr<MutationCallback> callback = V8MutationCallback::create(v8::Handle<v8::Function>::Cast(arg), context, wrapper, info.GetIsolate());
|
| + 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(), WrapperConfiguration::Dependent);
|
|
|