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

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

Issue 12276010: Factor out uses of the WebContentsModalDialog interface from platform-independent code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove CloseWebContentsModalDialog call from ConstrainedWebDialogDelegateBase 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 aebfc0a2e4fd8b2856ba94f190ce390d0c373d0b..b84586dce7b870a92049c07adbf555284f093b59 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()->GetNativeDialog();
+ web_contents)->GetNativeWindow();
}
ui::ModalType CertificateViewerDialog::GetDialogModalType() const {

Powered by Google App Engine
This is Rietveld 408576698