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

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

Issue 10959045: Switch WebIntentPickerController 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
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 f4e398e55be71b8a822dc005c08e416aedb61f5d..55570cffc7e9335b978476d31a47db2fa74946fb 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc
@@ -166,7 +166,7 @@ TabContents::TabContents(WebContents* contents)
OmniboxSearchHint::CreateForWebContents(contents);
PDFTabHelper::CreateForWebContents(contents);
SadTabHelper::CreateForWebContents(contents);
- web_intent_picker_controller_.reset(new WebIntentPickerController(this));
+ WebIntentPickerController::CreateForWebContents(contents);
#endif
external_protocol_observer_.reset(new ExternalProtocolObserver(contents));

Powered by Google App Engine
This is Rietveld 408576698