| Index: chrome/browser/ui/apps/app_metro_infobar_delegate_win.cc
|
| diff --git a/chrome/browser/ui/apps/app_metro_infobar_delegate_win.cc b/chrome/browser/ui/apps/app_metro_infobar_delegate_win.cc
|
| index f12628a2c92aae1729cc25380b26afcf7619afc2..384747e8e086f22db1a8e5e96da0cece29de7f14 100644
|
| --- a/chrome/browser/ui/apps/app_metro_infobar_delegate_win.cc
|
| +++ b/chrome/browser/ui/apps/app_metro_infobar_delegate_win.cc
|
| @@ -47,7 +47,7 @@ void AppMetroInfoBarDelegateWin::Create(
|
| content::WebContents* web_contents = displayer.browser()->OpenURL(params);
|
| InfoBarService::FromWebContents(web_contents)->AddInfoBar(
|
| ConfirmInfoBarDelegate::CreateInfoBar(scoped_ptr<ConfirmInfoBarDelegate>(
|
| - new AppMetroInfoBarDelegateWin(mode, extension_id))));
|
| + new AppMetroInfoBarDelegateWin(web_contents, mode, extension_id))));
|
|
|
| // Use PostTask because we can get here in a COM SendMessage, and
|
| // ActivateApplication can not be sent nested (returns error
|
| @@ -57,9 +57,10 @@ void AppMetroInfoBarDelegateWin::Create(
|
| }
|
|
|
| AppMetroInfoBarDelegateWin::AppMetroInfoBarDelegateWin(
|
| + content::WebContents* web_contents,
|
| Mode mode,
|
| const std::string& extension_id)
|
| - : ConfirmInfoBarDelegate(),
|
| + : ContentConfirmInfoBarDelegate(web_contents),
|
| mode_(mode),
|
| extension_id_(extension_id) {
|
| DCHECK_EQ(mode_ == SHOW_APP_LIST, extension_id_.empty());
|
|
|