| Index: Source/bindings/v8/custom/V8CustomEventCustom.cpp
 | 
| diff --git a/Source/bindings/v8/custom/V8CustomEventCustom.cpp b/Source/bindings/v8/custom/V8CustomEventCustom.cpp
 | 
| index 33beace36647be4cf61f59d397a5760019dffbdb..2fad03d853f40f7173fe2e4cc56b643fe5874f4e 100644
 | 
| --- a/Source/bindings/v8/custom/V8CustomEventCustom.cpp
 | 
| +++ b/Source/bindings/v8/custom/V8CustomEventCustom.cpp
 | 
| @@ -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()));
 | 
|      }
 | 
|  }
 | 
| 
 |