Index: Source/bindings/v8/DOMWrapperWorld.h |
diff --git a/Source/bindings/v8/DOMWrapperWorld.h b/Source/bindings/v8/DOMWrapperWorld.h |
index d503bc8e3a983276e1c50edaccf7033059c54675..ac993f5b7e0fd9fee48314d02a608b5b543c61b9 100644 |
--- a/Source/bindings/v8/DOMWrapperWorld.h |
+++ b/Source/bindings/v8/DOMWrapperWorld.h |
@@ -66,8 +66,8 @@ public: |
return static_cast<DOMWrapperWorld*>(context->GetAlignedPointerFromEmbedderData(v8ContextIsolatedWorld)); |
} |
- // Will return null if there is no DOMWrapperWorld representing the given ScriptExecutionContext. |
- static DOMWrapperWorld* current(ScriptExecutionContext*); |
+ // Will return null if there is no DOMWrapperWorld for the current v8::Context |
+ static DOMWrapperWorld* current(); |
// Associates an isolated world (see above for description) with a security |
// origin. XMLHttpRequest instances used in that world will be considered |