Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Unified Diff: Source/bindings/v8/DOMWrapperWorld.h

Issue 14334002: Delete WorldContextHandle in favor of DOMWrapperWorld (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698