| Index: chrome/browser/plugins/plugin_infobar_delegates.cc
|
| diff --git a/chrome/browser/plugins/plugin_infobar_delegates.cc b/chrome/browser/plugins/plugin_infobar_delegates.cc
|
| index 24e19b8d83c4a1972c5a15ff5524c04aaf5d247b..556bc2480db9a4a74ac01e8045e9efc63e30ba46 100644
|
| --- a/chrome/browser/plugins/plugin_infobar_delegates.cc
|
| +++ b/chrome/browser/plugins/plugin_infobar_delegates.cc
|
| @@ -177,7 +177,8 @@ OutdatedPluginInfoBarDelegate::OutdatedPluginInfoBarDelegate(
|
| PluginInstaller* installer,
|
| const string16& message)
|
| : PluginInfoBarDelegate(
|
| - InfoBarService::FromTabContents(observer->tab_contents()),
|
| + InfoBarService::FromTabContents(
|
| + TabContents::FromWebContents(observer->web_contents())),
|
| installer->name(),
|
| installer->identifier()),
|
| WeakPluginInstallerObserver(installer),
|
| @@ -234,7 +235,8 @@ bool OutdatedPluginInfoBarDelegate::Accept() {
|
| if (installer()->url_for_display()) {
|
| installer()->OpenDownloadURL(web_contents);
|
| } else {
|
| - installer()->StartInstalling(observer_->tab_contents());
|
| + installer()->StartInstalling(
|
| + TabContents::FromWebContents(observer_->web_contents()));
|
| }
|
| return false;
|
| }
|
|
|