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

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

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Addressed CR feedback from alexmos@. 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 009e19355c50c9b21953aca317a0f3a720cb5430..1c597485c84e12d70f071fb94b3416352206b18e 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
This is Rietveld 408576698