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

Unified Diff: third_party/WebKit/Source/web/tests/RootScrollerTest.cpp

Issue 2742673002: Remove FrameHost::globalRootScrollerController() (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 | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
index 231e2ca21c92975e3ced9cb7c3581277658b4c3f..8a75f24ef34a273c65fd24b965cb2c0deef5b40f 100644
--- a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
@@ -524,7 +524,7 @@ TEST_F(RootScrollerTest, SetRootScrollerIframeUsesCorrectLayerAndCallback) {
Element* container = iframe->contentDocument()->getElementById("container");
const TopDocumentRootScrollerController& mainController =
- mainFrame()->document()->frameHost()->globalRootScrollerController();
+ mainFrame()->document()->page()->globalRootScrollerController();
NonThrowableExceptionState nonThrow;
@@ -762,7 +762,7 @@ TEST_F(RootScrollerTest, RemoveClippingOnCompositorLayers) {
RootScrollerController& childController =
iframe->contentDocument()->rootScrollerController();
TopDocumentRootScrollerController& globalController =
- frameHost().globalRootScrollerController();
+ page().globalRootScrollerController();
LayoutView* mainLayoutView = mainFrameView()->layoutView();
LayoutView* childLayoutView = iframe->contentDocument()->layoutView();
@@ -1092,7 +1092,7 @@ TEST_F(RootScrollerTest, DocumentElementHasNoLayoutObject) {
executeScript("document.documentElement.style.display = 'none';");
const TopDocumentRootScrollerController& globalController =
- mainFrame()->document()->frameHost()->globalRootScrollerController();
+ mainFrame()->document()->page()->globalRootScrollerController();
EXPECT_EQ(mainFrame()->document()->documentElement(),
globalController.globalRootScroller());
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698