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

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

Issue 2917343004: Move LoadHTMLString method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Created 3 years, 6 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/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 {"

Powered by Google App Engine
This is Rietveld 408576698