Index: third_party/WebKit/Source/web/WebViewImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp |
index bb2303f4ca6cab3d1e0238eaba2761603389aef1..5908c39f9903051b96b1f836dcae503889ab70d9 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -306,7 +306,7 @@ void WebView::DidExitModalLoop() { |
} |
void WebViewImpl::SetMainFrame(WebFrame* frame) { |
- frame->ToImplBase()->InitializeCoreFrame(*GetPage(), 0, g_null_atom); |
+ WebFrame::InitializeCoreFrame(*frame, *GetPage()); |
} |
void WebViewImpl::SetCredentialManagerClient( |
@@ -2680,7 +2680,7 @@ void WebViewImpl::FocusDocumentView(WebFrame* frame) { |
// duplicate frameFocused updates from FocusController to the browser |
// process, which already knows the latest focused frame. |
GetPage()->GetFocusController().FocusDocumentView( |
- frame->ToImplBase()->GetFrame(), false /* notifyEmbedder */); |
+ WebFrame::ToCoreFrame(*frame), false /* notifyEmbedder */); |
} |
void WebViewImpl::SetInitialFocus(bool reverse) { |