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

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

Issue 754953002: Enable AutoResize for Constrained Web Dialogs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 1f508503778da4aa35d37f0b9bbf85124aed72c6..5dcec8bcd29b3a185946e24d70a199e828acf13c 100644
--- a/chrome/browser/ui/webui/certificate_viewer_webui.cc
+++ b/chrome/browser/ui/webui/certificate_viewer_webui.cc
@@ -228,7 +228,7 @@ void CertificateViewerDialog::Show(WebContents* web_contents,
gfx::NativeWindow parent) {
// TODO(bshe): UI tweaks needed for Aura HTML Dialog, such as adding padding
// on the title for Aura ConstrainedWebDialogUI.
- dialog_ = CreateConstrainedWebDialog(web_contents->GetBrowserContext(), this,
+ dialog_ = ShowConstrainedWebDialog(web_contents->GetBrowserContext(), this,
web_contents);
msw 2014/12/04 19:27:19 nit: fix indent...
apacible 2014/12/09 17:07:58 Done.
}

Powered by Google App Engine
This is Rietveld 408576698