Index: chrome/browser/extensions/extension_tab_helper.cc |
diff --git a/chrome/browser/extensions/extension_tab_helper.cc b/chrome/browser/extensions/extension_tab_helper.cc |
index 46a6522bb9bae8b35aca702b49e6c0d204738061..a5b726db7b3dde65dc32fe1fd7de46a384ad2bc0 100644 |
--- a/chrome/browser/extensions/extension_tab_helper.cc |
+++ b/chrome/browser/extensions/extension_tab_helper.cc |
@@ -187,12 +187,16 @@ void ExtensionTabHelper::OnGetAppNotifyChannel( |
return; |
} |
+ AppNotifyChannelUI* ui = new AppNotifyChannelUIImpl( |
+ GetBrowser(), tab_contents_wrapper(), extension->name()); |
+ |
scoped_refptr<AppNotifyChannelSetup> channel_setup( |
new AppNotifyChannelSetup(profile, |
client_id, |
requestor_url, |
return_route_id, |
callback_id, |
+ ui, |
this->AsWeakPtr())); |
channel_setup->Start(); |
// We'll get called back in AppNotifyChannelSetupComplete. |