Index: chrome/browser/ssl/ssl_tab_helper.cc |
=================================================================== |
--- chrome/browser/ssl/ssl_tab_helper.cc (revision 195254) |
+++ chrome/browser/ssl/ssl_tab_helper.cc (working copy) |
@@ -121,8 +121,8 @@ |
bool SSLCertResultInfoBarDelegate::Accept() { |
ShowCertificateViewer( |
- owner()->GetWebContents(), |
- owner()->GetWebContents()->GetView()->GetTopLevelNativeWindow(), |
+ owner()->web_contents(), |
+ owner()->web_contents()->GetView()->GetTopLevelNativeWindow(), |
cert_); |
return false; // Hiding the infobar just as the dialog opens looks weird. |
} |