| Index: chrome/browser/pepper_broker_infobar_delegate.cc
|
| diff --git a/chrome/browser/pepper_broker_infobar_delegate.cc b/chrome/browser/pepper_broker_infobar_delegate.cc
|
| index 8cb250b2affb7df7b2343052a061ca0778d95e0b..1423bab06e716fb1844e675df1e1af7e0e00c0ec 100644
|
| --- a/chrome/browser/pepper_broker_infobar_delegate.cc
|
| +++ b/chrome/browser/pepper_broker_infobar_delegate.cc
|
| @@ -132,7 +132,9 @@ base::string16 PepperBrokerInfoBarDelegate::GetLinkText() const {
|
| bool PepperBrokerInfoBarDelegate::LinkClicked(
|
| WindowOpenDisposition disposition) {
|
| GURL learn_more_url("https://support.google.com/chrome/?p=ib_pepper_broker");
|
| - web_contents()->OpenURL(content::OpenURLParams(
|
| + content::WebContents* web_contents =
|
| + InfoBarService::WebContentsFromInfoBar(infobar());
|
| + web_contents->OpenURL(content::OpenURLParams(
|
| learn_more_url, content::Referrer(),
|
| (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition,
|
| content::PAGE_TRANSITION_LINK, false));
|
|
|