Index: Source/bindings/templates/interface.h |
diff --git a/Source/bindings/templates/interface.h b/Source/bindings/templates/interface.h |
index 3a8e11fd5b5466627f9b74d65787330c8f311829..71c62a861c653c33dff4901697f5963c3c5c6997 100644 |
--- a/Source/bindings/templates/interface.h |
+++ b/Source/bindings/templates/interface.h |
@@ -229,7 +229,7 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{cpp_class}}* im |
template<typename CallbackInfo> |
inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, {{cpp_class}}* impl) |
{ |
- ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate())->isMainWorld()); |
+ ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate()).isMainWorld()); |
if (UNLIKELY(!impl)) { |
v8SetReturnValueNull(callbackInfo); |
return; |