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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptController.h

Issue 2608163009: Remove ScriptController::updateDocument (Closed)
Patch Set: temp Created 3 years, 11 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: third_party/WebKit/Source/bindings/core/v8/ScriptController.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
index daba37c150f58ddc7f908e6fec2d526d048fbd74..c38a22ad561cc6db48a929b0d9410d5187196cd8 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
@@ -79,7 +79,8 @@ class CORE_EXPORT ScriptController final
DECLARE_TRACE();
- bool initializeMainWorld();
+ // This returns an initialized window proxy. (If the window proxy is not
+ // yet initialized, it's implicitly initialized at the first access.)
WindowProxy* windowProxy(DOMWrapperWorld&);
// Evaluate JavaScript in the main world.

Powered by Google App Engine
This is Rietveld 408576698