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

Unified Diff: content/browser/tab_contents/render_view_host_manager.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: content/browser/tab_contents/render_view_host_manager.cc
===================================================================
--- content/browser/tab_contents/render_view_host_manager.cc (revision 116288)
+++ content/browser/tab_contents/render_view_host_manager.cc (working copy)
@@ -24,6 +24,7 @@
#include "content/public/common/content_switches.h"
#include "content/public/common/url_constants.h"
+using content::NavigationController;
using content::NavigationEntry;
using content::NavigationEntryImpl;
@@ -115,7 +116,7 @@
details.old_host = NULL;
content::NotificationService::current()->Notify(
content::NOTIFICATION_RENDER_VIEW_HOST_CHANGED,
- content::Source<content::NavigationController>(
+ content::Source<NavigationController>(
&delegate_->GetControllerForRenderManager()),
content::Details<RenderViewHostSwitchedDetails>(&details));
}
@@ -603,7 +604,7 @@
details.old_host = old_render_view_host;
content::NotificationService::current()->Notify(
content::NOTIFICATION_RENDER_VIEW_HOST_CHANGED,
- content::Source<content::NavigationController>(
+ content::Source<NavigationController>(
&delegate_->GetControllerForRenderManager()),
content::Details<RenderViewHostSwitchedDetails>(&details));

Powered by Google App Engine
This is Rietveld 408576698