Chromium Code Reviews

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

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Rebasing... Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 8221e8160de095b4b940780a55621a5c43d04857..59a38419625f72cb3ec9f4228f465120841fca5e 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(); }

Powered by Google App Engine