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

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

Issue 2732363003: Make TopDocumentRootScrollerController store Page instead of FrameHost (Closed)
Patch Set: Review feedback 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
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 c8393af9e00a5cc04cbeac6c1484c57163844ace..f11a6eef0e60890ea0d1cf2a379b7bbec0f4408f 100644
--- a/third_party/WebKit/Source/core/frame/FrameHost.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameHost.cpp
@@ -57,7 +57,7 @@ FrameHost::FrameHost(Page& page)
m_eventHandlerRegistry(new EventHandlerRegistry(*this)),
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

Powered by Google App Engine
This is Rietveld 408576698