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

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

Issue 10905301: Switch CoreTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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 | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/tab_contents/core_tab_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_adoption.cc
diff --git a/chrome/browser/ui/browser_adoption.cc b/chrome/browser/ui/browser_adoption.cc
index 9918f23d2df8e79347af49c19b1ec830441ad9ec..bac3de09e1de5b1fada13c898faa5043ed6d8b0a 100644
--- a/chrome/browser/ui/browser_adoption.cc
+++ b/chrome/browser/ui/browser_adoption.cc
@@ -47,7 +47,7 @@ void Browser::SetAsDelegate(WebContents* web_contents, Browser* delegate) {
tab->blocked_content_tab_helper()->set_delegate(delegate);
BookmarkTabHelper::FromWebContents(web_contents)->set_delegate(delegate);
tab->constrained_window_tab_helper()->set_delegate(delegate);
- tab->core_tab_helper()->set_delegate(delegate);
+ CoreTabHelper::FromWebContents(web_contents)->set_delegate(delegate);
tab->search_engine_tab_helper()->set_delegate(delegate);
tab->zoom_controller()->set_observer(delegate);
}
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/tab_contents/core_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698