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

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

Issue 10949011: Switch SadTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, win fix 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
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 a3cfa028d83eb70c351fd1c07e5c1f93e3f110c5..b834909c9b89ce20a9946391474d580383ce9dc1 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc
@@ -168,7 +168,7 @@ TabContents::TabContents(WebContents* contents)
if (OmniboxSearchHint::IsEnabled(profile()))
OmniboxSearchHint::CreateForWebContents(contents);
PDFTabHelper::CreateForWebContents(contents);
- sad_tab_helper_.reset(new SadTabHelper(contents));
+ SadTabHelper::CreateForWebContents(contents);
web_intent_picker_controller_.reset(new WebIntentPickerController(this));
#endif

Powered by Google App Engine
This is Rietveld 408576698