Index: chrome/browser/ui/intents/web_intent_picker_controller.cc |
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller.cc b/chrome/browser/ui/intents/web_intent_picker_controller.cc |
index 65cfcc2e4d58107636deace2ba41f9bad96bdb33..b4014b808972f73cab5125d9d14a1360b3cb91f5 100644 |
--- a/chrome/browser/ui/intents/web_intent_picker_controller.cc |
+++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc |
@@ -116,7 +116,7 @@ WebIntentPickerController::WebIntentPickerController( |
picker_(NULL), |
pending_async_count_(0), |
service_tab_(NULL) { |
- NavigationController* controller = &wrapper->controller(); |
+ NavigationController* controller = &wrapper->tab_contents()->controller(); |
registrar_.Add(this, content::NOTIFICATION_LOAD_START, |
content::Source<NavigationController>(controller)); |
registrar_.Add(this, content::NOTIFICATION_TAB_CLOSING, |