| Index: chrome/browser/tab_contents/tab_contents_ssl_helper.cc
|
| diff --git a/chrome/browser/tab_contents/tab_contents_ssl_helper.cc b/chrome/browser/tab_contents/tab_contents_ssl_helper.cc
|
| index 56d80c48458dd494ba39d31e325e1a8d16c50446..99bab73944e11c0bf878590153761eae6dca9d65 100644
|
| --- a/chrome/browser/tab_contents/tab_contents_ssl_helper.cc
|
| +++ b/chrome/browser/tab_contents/tab_contents_ssl_helper.cc
|
| @@ -100,8 +100,8 @@ string16 SSLCertAddedInfoBarDelegate::GetButtonLabel(
|
|
|
| bool SSLCertAddedInfoBarDelegate::Accept() {
|
| ShowCertificateViewer(
|
| - owner()->web_contents(),
|
| - owner()->web_contents()->GetView()->GetTopLevelNativeWindow(),
|
| + owner()->GetWebContents(),
|
| + owner()->GetWebContents()->GetView()->GetTopLevelNativeWindow(),
|
| cert_);
|
| return false; // Hiding the infobar just as the dialog opens looks weird.
|
| }
|
|
|