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

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

Issue 2773003002: Make the WebWidgetClient parameter a ref so it's not legal to pass a nullptr. (Closed)
Patch Set: WebViewClient dtor now overrides the virtual dtor in WebWidgetClient. Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.h ('k') | third_party/WebKit/public/web/WebViewClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewFrameWidget.cpp
diff --git a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
index 7b662eba0c922c86733d48886116abb4573dd65f..ed07c0a0b0802c9541bef447b3a3807db4fea7a9 100644
--- a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
+++ b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
@@ -10,10 +10,10 @@
namespace blink {
-WebViewFrameWidget::WebViewFrameWidget(WebWidgetClient* client,
+WebViewFrameWidget::WebViewFrameWidget(WebWidgetClient& client,
WebViewImpl& webView,
WebLocalFrameImpl& mainFrame)
- : m_client(client), m_webView(&webView), m_mainFrame(&mainFrame) {
+ : m_client(&client), m_webView(&webView), m_mainFrame(&mainFrame) {
m_mainFrame->setFrameWidget(this);
m_webView->setCompositorVisibility(true);
}
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.h ('k') | third_party/WebKit/public/web/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698