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

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

Issue 2837593002: Nuked WebFrameImplBase. (Closed)
Patch Set: 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..239efb04c00095e595942c4c83a0b00c0c1388b3 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);
+ frame->InitializeCoreFrame(*GetPage());
}
void WebViewImpl::SetCredentialManagerClient(
@@ -2679,8 +2679,8 @@ void WebViewImpl::FocusDocumentView(WebFrame* frame) {
// cross-process frames, and |notifyEmbedder| is disabled to avoid sending
// duplicate frameFocused updates from FocusController to the browser
// process, which already knows the latest focused frame.
- GetPage()->GetFocusController().FocusDocumentView(
- frame->ToImplBase()->GetFrame(), false /* notifyEmbedder */);
+ GetPage()->GetFocusController().FocusDocumentView(frame->GetFrame(),
+ false /* notifyEmbedder */);
}
void WebViewImpl::SetInitialFocus(bool reverse) {

Powered by Google App Engine
This is Rietveld 408576698