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

Unified Diff: chrome/browser/repost_form_warning_controller.cc

Issue 8983012: Get rid of content::NavigationController in cc file and use "using" instead. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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/repost_form_warning_controller.cc
===================================================================
--- chrome/browser/repost_form_warning_controller.cc (revision 116288)
+++ chrome/browser/repost_form_warning_controller.cc (working copy)
@@ -17,6 +17,7 @@
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
+using content::NavigationController;
using content::WebContents;
RepostFormWarningController::RepostFormWarningController(
@@ -24,7 +25,7 @@
: TabModalConfirmDialogDelegate(web_contents),
navigation_controller_(&web_contents->GetController()) {
registrar_.Add(this, content::NOTIFICATION_REPOST_WARNING_SHOWN,
- content::Source<content::NavigationController>(
+ content::Source<NavigationController>(
navigation_controller_));
}
« no previous file with comments | « chrome/browser/printing/print_preview_tab_controller.cc ('k') | chrome/browser/safe_browsing/browser_feature_extractor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698