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

Unified Diff: chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc

Issue 2739553005: Moves maintaining root_window_for_new_windows_ to Shell (Closed)
Patch Set: remove ash:: Created 3 years, 9 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/chromeos/profiles/multiprofiles_session_aborted_dialog.cc
diff --git a/chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc b/chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc
index c9a5ddf65740a7392392f0c6df9abeb72ed31e79..ee40e4427d42e8043fe9c0a0a3022b21002148e9 100644
--- a/chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc
+++ b/chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc
@@ -72,7 +72,7 @@ void MultiprofilesSessionAbortedView::ShowDialog(
MultiprofilesSessionAbortedView* dialog_view =
new MultiprofilesSessionAbortedView();
views::DialogDelegate::CreateDialogWidget(
- dialog_view, ash::Shell::GetTargetRootWindow(), NULL);
+ dialog_view, ash::Shell::GetRootWindowForNewWindows(), NULL);
dialog_view->InitDialog(user_email);
views::Widget* widget = dialog_view->GetWidget();
DCHECK(widget);

Powered by Google App Engine
This is Rietveld 408576698