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 f7a25c8e07c3e2249e77a5a651cb2bad8b8c553f..a1811f1540f9a21d8796be1e4748fadc52bbc44c 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. |
} |