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

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 2811793005: Rename LocalFrame::Script() to GetScriptController() (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/core/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index 756683fad88e8238fafa842e2773c6fb3b49747f..941a30cba6fd96f8a8ec73ec3d1db13876015b52 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -546,7 +546,8 @@ void Page::SettingsChanged(SettingsDelegate::ChangeType change_type) {
.StateMachine()
->CommittedFirstRealDocumentLoad()) {
// Forcibly instantiate WindowProxy.
- local_frame->Script().WindowProxy(DOMWrapperWorld::MainWorld());
+ local_frame->GetScriptController().WindowProxy(
+ DOMWrapperWorld::MainWorld());
}
}
} break;
« no previous file with comments | « third_party/WebKit/Source/core/loader/ImageLoader.cpp ('k') | third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698