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 8bc32d5ba3056ca7808c13683d4f9546d201ac3b..be9ce62be537cb2c651aeff4feb5bdab836378c5 100644 |
--- a/chrome/browser/tab_contents/tab_contents_ssl_helper.cc |
+++ b/chrome/browser/tab_contents/tab_contents_ssl_helper.cc |
@@ -89,7 +89,7 @@ string16 SSLCertAddedInfoBarDelegate::GetButtonLabel( |
} |
bool SSLCertAddedInfoBarDelegate::Accept() { |
- ShowCertificateViewer(tab_contents_->GetMessageBoxRootWindow(), cert_); |
+ ShowCertificateViewer(tab_contents_->GetDialogRootWindow(), cert_); |
return false; // Hiding the infobar just as the dialog opens looks weird. |
} |