Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / v8 / custom / V8MutationObserverCustom.cpp
index bf6011f..7acb5a2 100644 (file)
@@ -58,7 +58,7 @@ void V8MutationObserver::constructorCustom(const v8::FunctionCallbackInfo<v8::Va
         return;
     }
 
-    ExecutionContext* context = getExecutionContext();
+    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());