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

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: disable unused webui certificate viewer on linux 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
« no previous file with comments | « chrome/browser/ui/web_contents_modal_dialog_manager_unittest.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2b1ccabe9b725f37e489244da637e712286d7f50..aebfc0a2e4fd8b2856ba94f190ce390d0c373d0b 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 {
« no previous file with comments | « chrome/browser/ui/web_contents_modal_dialog_manager_unittest.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698