Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: chrome/browser/ui/webui/certificate_viewer_webui.cc

Issue 12221055: Use a uniform opaque type to represent web contents modal dialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add TODO Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/certificate_viewer_webui.cc
diff --git a/chrome/browser/ui/webui/certificate_viewer_webui.cc b/chrome/browser/ui/webui/certificate_viewer_webui.cc
index b955651addf93a323f52422275f5d4e34bfed9c2..48283b442e8061dd710ac64445b15f53d04bce34 100644
--- a/chrome/browser/ui/webui/certificate_viewer_webui.cc
+++ b/chrome/browser/ui/webui/certificate_viewer_webui.cc
@@ -75,7 +75,7 @@ void CertificateViewerDialog::Show(WebContents* web_contents,
web_contents->GetBrowserContext(),
this,
NULL,
- web_contents)->GetWindow()->GetNativeWindow();
+ web_contents)->GetWindow()->GetNativeDialog();
}
ui::ModalType CertificateViewerDialog::GetDialogModalType() const {

Powered by Google App Engine
This is Rietveld 408576698