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

Unified Diff: chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc

Issue 8983010: Convert WebContents to return a content::NavigationController instead of the implementation. Upda... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 12 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: chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc
===================================================================
--- chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc (revision 116232)
+++ chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc (working copy)
@@ -17,7 +17,7 @@
WebContents* web_contents)
: window_(NULL),
closing_(false) {
- NavigationController* controller = &web_contents->GetController();
+ content::NavigationController* controller = &web_contents->GetController();
registrar_.Add(this, content::NOTIFICATION_LOAD_START,
content::Source<content::NavigationController>(controller));
registrar_.Add(this, content::NOTIFICATION_TAB_CLOSING,

Powered by Google App Engine
This is Rietveld 408576698