| Index: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm
|
| diff --git a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm
|
| index a19bee41997396d5b1641ce7cdb75d7a258ec6f3..2f21dfab8dcc9785db486462260cbd6faac10e2a 100644
|
| --- a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm
|
| +++ b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm
|
| @@ -15,7 +15,7 @@
|
| #include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/browser/ui/browser_window.h"
|
| #import "chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.h"
|
| -#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/browser/ui/tab_contents/tab_contents.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/extensions/extension_action.h"
|
| #include "grit/chromium_strings.h"
|
| @@ -35,8 +35,8 @@ static void ShowGenericExtensionInstalledInfoBar(
|
| if (!browser)
|
| return;
|
|
|
| - TabContentsWrapper* wrapper = browser->GetSelectedTabContentsWrapper();
|
| - if (!wrapper)
|
| + TabContents* tab_contents = browser->GetActiveTabContents();
|
| + if (!tab_contents)
|
| return;
|
|
|
| string16 extension_name = UTF8ToUTF16(new_extension->name());
|
| @@ -46,7 +46,7 @@ static void ShowGenericExtensionInstalledInfoBar(
|
| + UTF8ToUTF16(" ")
|
| + l10n_util::GetStringUTF16(
|
| IDS_EXTENSION_INSTALLED_MANAGE_INFO_MAC);
|
| - InfoBarTabHelper* infobar_helper = wrapper->infobar_tab_helper();
|
| + InfoBarTabHelper* infobar_helper = tab_contents->infobar_tab_helper();
|
| InfoBarDelegate* delegate = new SimpleAlertInfoBarDelegate(
|
| infobar_helper, new gfx::Image(icon), msg, true);
|
| infobar_helper->AddInfoBar(delegate);
|
|
|