| Index: chrome/browser/media/media_stream_infobar_delegate.cc
|
| diff --git a/chrome/browser/media/media_stream_infobar_delegate.cc b/chrome/browser/media/media_stream_infobar_delegate.cc
|
| index f3059d503e965ba2f7f900d9fb1e8ba50106ccfc..407e32d8ac23f5619bc302f8bca86ac0d43bc9c0 100644
|
| --- a/chrome/browser/media/media_stream_infobar_delegate.cc
|
| +++ b/chrome/browser/media/media_stream_infobar_delegate.cc
|
| @@ -137,7 +137,9 @@ base::string16 MediaStreamInfoBarDelegate::GetLinkText() const {
|
|
|
| bool MediaStreamInfoBarDelegate::LinkClicked(
|
| WindowOpenDisposition disposition) {
|
| - web_contents()->OpenURL(content::OpenURLParams(
|
| + content::WebContents* web_contents =
|
| + InfoBarService::WebContentsFromInfoBar(infobar());
|
| + web_contents->OpenURL(content::OpenURLParams(
|
| google_util::AppendGoogleLocaleParam(
|
| GURL(chrome::kMediaAccessLearnMoreUrl)),
|
| content::Referrer(),
|
|
|