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

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

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. 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/BrowserControlsTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/BrowserControlsTest.cpp b/third_party/WebKit/Source/web/tests/BrowserControlsTest.cpp
index e54a7ddb1dfd726b724a8f67db0ff8f02d35d243..5ac11452b39c813940b82d033e0aee07f2442e7e 100644
--- a/third_party/WebKit/Source/web/tests/BrowserControlsTest.cpp
+++ b/third_party/WebKit/Source/web/tests/BrowserControlsTest.cpp
@@ -123,7 +123,7 @@ class BrowserControlsTest : public ::testing::Test {
Element* GetElementById(const WebString& id) {
return static_cast<Element*>(
- GetWebView()->MainFrame()->GetDocument().GetElementById(id));
+ GetWebView()->MainFrameImpl()->GetDocument().GetElementById(id));
}
WebViewBase* GetWebView() const { return helper_.WebView(); }
« no previous file with comments | « third_party/WebKit/Source/modules/exported/WebAXObject.cpp ('k') | third_party/WebKit/Source/web/tests/TouchActionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698