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

Unified Diff: chrome/browser/external_tab_container_win.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/external_tab_container_win.cc
===================================================================
--- chrome/browser/external_tab_container_win.cc (revision 116232)
+++ chrome/browser/external_tab_container_win.cc (working copy)
@@ -180,7 +180,7 @@
if (existing_contents) {
tab_contents_.reset(existing_contents);
- tab_contents_->tab_contents()->GetController().set_browser_context(profile);
+ tab_contents_->web_contents()->GetController().SetBrowserContext(profile);
} else {
TabContents* new_contents = new TabContents(profile, NULL, MSG_ROUTING_NONE,
NULL, NULL);
@@ -201,7 +201,7 @@
content::BINDINGS_POLICY_EXTERNAL_HOST);
}
- NavigationController* controller =
+ content::NavigationController* controller =
&tab_contents_->web_contents()->GetController();
registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED,
content::Source<content::NavigationController>(controller));

Powered by Google App Engine
This is Rietveld 408576698