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

Unified Diff: chrome/browser/ui/cocoa/location_bar/web_intents_button_decoration_unittest.mm

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/cocoa/location_bar/web_intents_button_decoration_unittest.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/web_intents_button_decoration_unittest.mm b/chrome/browser/ui/cocoa/location_bar/web_intents_button_decoration_unittest.mm
index 85c91141122d3c3adf03142cb4dd1441b0232b45..e9b92fa141a12165ca2b509984f39e9871485c9b 100644
--- a/chrome/browser/ui/cocoa/location_bar/web_intents_button_decoration_unittest.mm
+++ b/chrome/browser/ui/cocoa/location_bar/web_intents_button_decoration_unittest.mm
@@ -49,9 +49,10 @@ TEST_F(WebIntentsButtonDecorationTest, IdentifiesWebIntentService) {
webkit_glue::WebIntentData data;
content::WebIntentsDispatcher* dispatcher =
content::WebIntentsDispatcher::Create(data);
- SetWindowDispositionSource(
- contents->web_intent_picker_controller(),
- contents->web_contents(), dispatcher);
+ WebIntentPickerController* web_intent_picker_controller =
+ WebIntentPickerController::FromWebContents(contents->web_contents());
+ SetWindowDispositionSource(web_intent_picker_controller,
+ contents->web_contents(), dispatcher);
SetRanAnimation();
decoration_.Update(contents.get());

Powered by Google App Engine
This is Rietveld 408576698