Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / v8 / custom / V8CustomEventCustom.cpp
index 33beace..2fad03d 100644 (file)
@@ -91,7 +91,7 @@ void V8CustomEvent::initCustomEventMethodCustom(const v8::FunctionCallbackInfo<v
 
     if (!detailsArg.IsEmpty()) {
         setHiddenValue(info.GetIsolate(), info.Holder(), "detail", detailsArg);
-        if (isolatedWorldForIsolate(info.GetIsolate()))
+        if (DOMWrapperWorld::current(info.GetIsolate())->isIsolatedWorld())
             event->setSerializedDetail(SerializedScriptValue::createAndSwallowExceptions(detailsArg, info.GetIsolate()));
     }
 }