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

Unified Diff: third_party/WebKit/Source/core/frame/FrameHost.cpp

Issue 2732363003: Make TopDocumentRootScrollerController store Page instead of FrameHost (Closed)
Patch Set: Rebase Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameHost.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameHost.cpp b/third_party/WebKit/Source/core/frame/FrameHost.cpp
index ce9e70d2ad73f93b8c3a3f1146cca890ecf52cf7..232e6c555b0f7be2637b9e1f2ca20df93ff3b3ec 100644
--- a/third_party/WebKit/Source/core/frame/FrameHost.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameHost.cpp
@@ -53,7 +53,7 @@ FrameHost::FrameHost(Page& page)
m_page->chromeClient())),
m_consoleMessageStorage(new ConsoleMessageStorage()),
m_globalRootScrollerController(
- TopDocumentRootScrollerController::create(*this)),
+ TopDocumentRootScrollerController::create(page)),
m_subframeCount(0) {}
// Explicitly in the .cpp to avoid default constructor in .h
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698