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

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

Issue 11030004: Switch TabContentsSyncedTabDelegate to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dtor check Created 8 years, 2 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_contents/tab_contents.cc
diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc
index 0f7297b67a41320f9d1915e396d4adef10f92b78..072578258d12b2bea3df01e5c97eaf6487e5d914 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc
@@ -154,7 +154,7 @@ TabContents::TabContents(WebContents* contents)
chrome::search::SearchTabHelper::CreateForWebContents(contents);
SnapshotTabHelper::CreateForWebContents(contents);
SSLTabHelper::CreateForWebContents(contents);
- synced_tab_delegate_.reset(new TabContentsSyncedTabDelegate(this));
+ TabContentsSyncedTabDelegate::CreateForWebContents(contents);
TabSpecificContentSettings::CreateForWebContents(contents);
TranslateTabHelper::CreateForWebContents(contents);
ZoomController::CreateForWebContents(contents);

Powered by Google App Engine
This is Rietveld 408576698