Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
index 0c0b71526e33ab2bbb94fa9e731a7b87e2029cf3..14c24340ae466a5686dcf4b05e2251d29dac94d6 100644 |
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
@@ -3960,7 +3960,7 @@ TEST_P(WebViewTest, SubframeBeforeUnloadUseCounter) { |
WebViewBase* web_view = web_view_helper_.InitializeAndLoad( |
base_url_ + "single_iframe.html", true); |
- WebFrame* frame = web_view_helper_.WebView()->MainFrame(); |
+ WebLocalFrame* frame = web_view_helper_.WebView()->MainFrameImpl(); |
Document* document = |
ToLocalFrame(web_view_helper_.WebView()->GetPage()->MainFrame()) |
->GetDocument(); |