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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2837593002: Nuked WebFrameImplBase. (Closed)
Patch Set: Replaced non-null params with refs. Created 3 years, 8 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/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) {
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.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