From 3ab9cb81731759c6e11f8c5296c1b75a7d2dadf1 Mon Sep 17 00:00:00 2001 From: "avi@chromium.org" Date: Fri, 3 Jun 2011 18:02:07 +0000 Subject: Remove JS dialog dependency from content. BUG=71097 TEST=all types of javascript dialogs work, onbeforeunload dialogs work too Review URL: http://codereview.chromium.org/7096016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87806 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/tab_contents/tab_contents_ssl_helper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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 f7a25c8..a1811f1 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. } -- cgit v1.1