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

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

Issue 2940863005: Move loading methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: Fixing build problems introduced by rebasing... 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/ImeOnFocusTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp b/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
index d360af9ab7a23cac161d60454f18f20b58023169..d4c73b0b82eeb0bd7d18a39a7f6cfc61e739624e 100644
--- a/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
@@ -100,7 +100,7 @@ void ImeOnFocusTest::RunImeOnFocusTest(
WebViewBase* web_view =
web_view_helper_.Initialize(nullptr, nullptr, &client);
web_view->Resize(WebSize(800, 1200));
- LoadFrame(web_view->MainFrame(), base_url_ + file_name);
+ LoadFrame(web_view->MainFrameImpl(), base_url_ + file_name);
document_ = web_view_helper_.WebView()
->MainFrameImpl()
->GetDocument()
@@ -117,7 +117,8 @@ void ImeOnFocusTest::RunImeOnFocusTest(
RegisterMockedURLLoadFromBase(WebString::FromUTF8(base_url_),
testing::WebTestDataPath(),
WebString::FromUTF8(frame));
- WebFrame* child_frame = web_view->MainFrame()->FirstChild();
+ WebLocalFrame* child_frame =
+ web_view->MainFrame()->FirstChild()->ToWebLocalFrame();
LoadFrame(child_frame, base_url_ + frame);
}

Powered by Google App Engine
This is Rietveld 408576698