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..d5df5a37c90bf1c0be4db9a789bc45b8f6e7462b 100644 |
--- a/chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc |
+++ b/chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc |
@@ -81,14 +81,16 @@ base::string16 ObsoleteSystemInfoBarDelegate::GetLinkText() const { |
bool ObsoleteSystemInfoBarDelegate::LinkClicked( |
WindowOpenDisposition disposition) { |
- web_contents()->OpenURL(content::OpenURLParams( |
+ InfoBarService::WebContentsFromInfoBar(infobar())->OpenURL( |
+ content::OpenURLParams( |
#if defined(OS_MACOSX) |
- GURL(chrome::kMac32BitDeprecationURL), |
+ GURL(chrome::kMac32BitDeprecationURL), |
#else |
- GURL("http://www.google.com/support/chrome/bin/answer.py?answer=95411"), |
+ GURL("http://www.google.com/support/chrome/bin/" |
+ "answer.py?answer=95411"), |
#endif |
- content::Referrer(), |
- (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, |
- content::PAGE_TRANSITION_LINK, false)); |
+ content::Referrer(), |
+ (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, |
+ content::PAGE_TRANSITION_LINK, false)); |
return false; |
} |