Index: chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc |
diff --git a/chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc b/chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc |
index 8706687ef0d22c099433d06bf0a7d83813fa151b..6292dc3cce0aa48bb2f1d3a7a37bc04ec127662a 100644 |
--- a/chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc |
+++ b/chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc |
@@ -81,7 +81,9 @@ base::string16 ObsoleteSystemInfoBarDelegate::GetLinkText() const { |
bool ObsoleteSystemInfoBarDelegate::LinkClicked( |
WindowOpenDisposition disposition) { |
- web_contents()->OpenURL(content::OpenURLParams( |
+ content::WebContents* web_contents = |
+ InfoBarService::WebContentsFromInfoBar(infobar()); |
+ web_contents->OpenURL(content::OpenURLParams( |
#if defined(OS_MACOSX) |
GURL(chrome::kMac32BitDeprecationURL), |
#else |