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 fb58878c5c41c87dbb101b999adb893d7f1b6c99..8c7430c6a1917c8b3735e6da88ebc0f61d1a98c8 100644 |
--- a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp |
@@ -845,7 +845,7 @@ TEST_F(RootScrollerTest, TopControlsAdjustmentAppliedToRootScroller) { |
Initialize(); |
WebURL base_url = URLTestHelpers::ToKURL("http://www.test.com/"); |
- FrameTestHelpers::LoadHTMLString(GetWebView()->MainFrame(), |
+ FrameTestHelpers::LoadHTMLString(GetWebView()->MainFrameImpl(), |
"<!DOCTYPE html>" |
"<style>" |
" body, html {" |
@@ -1122,7 +1122,7 @@ TEST_F(RootScrollerHitTest, HitTestInAreaRevealedByURLBarSameLayer) { |
// that we can hit this target. |
Initialize(); |
WebURL baseURL = URLTestHelpers::ToKURL("http://www.test.com/"); |
- FrameTestHelpers::LoadHTMLString(GetWebView()->MainFrame(), |
+ FrameTestHelpers::LoadHTMLString(GetWebView()->MainFrameImpl(), |
"<!DOCTYPE html>" |
"<style>" |
" body, html {" |
@@ -1171,7 +1171,7 @@ TEST_F(RootScrollerHitTest, HitTestInAreaRevealedByURLBarDifferentLayer) { |
// that we can hit this target. |
Initialize(); |
WebURL baseURL = URLTestHelpers::ToKURL("http://www.test.com/"); |
- FrameTestHelpers::LoadHTMLString(GetWebView()->MainFrame(), |
+ FrameTestHelpers::LoadHTMLString(GetWebView()->MainFrameImpl(), |
"<!DOCTYPE html>" |
"<style>" |
" body, html {" |