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

Unified Diff: chrome/browser/chromeos/ui/idle_logout_dialog_view.cc

Issue 15042008: Remove the idle logout dialog extra border. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove debugging code. Created 7 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/ui/idle_logout_dialog_view.cc
diff --git a/chrome/browser/chromeos/ui/idle_logout_dialog_view.cc b/chrome/browser/chromeos/ui/idle_logout_dialog_view.cc
index 6788a32bc293b2be6cfaf2ada4f424b32ea7263e..27942f3384d57378324a4a8279ea3ab91183753f 100644
--- a/chrome/browser/chromeos/ui/idle_logout_dialog_view.cc
+++ b/chrome/browser/chromeos/ui/idle_logout_dialog_view.cc
@@ -149,8 +149,8 @@ void IdleLogoutDialogView::Show() {
UpdateCountdown();
- views::Widget::CreateWindowWithContext(this,
- ash::Shell::GetPrimaryRootWindow());
+ views::DialogDelegate::CreateDialogWidget(
+ this, ash::Shell::GetPrimaryRootWindow(), NULL);
GetWidget()->SetAlwaysOnTop(true);
GetWidget()->Show();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698