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

Unified Diff: chrome/browser/chromeos/profiles/multiprofiles_intro_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_intro_dialog.cc
diff --git a/chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc b/chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc
index eb82189f75ae3bc3112c0c2ed8ee974d5340ced4..cadd5b1aaf92fd6bd5aee27d4b7c83f6b98ab1fb 100644
--- a/chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc
+++ b/chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc
@@ -71,7 +71,7 @@ void MultiprofilesIntroView::ShowDialog(
new MultiprofilesIntroView(on_accept);
dialog_view->InitDialog();
views::DialogDelegate::CreateDialogWidget(
- dialog_view, ash::Shell::GetTargetRootWindow(), NULL);
+ dialog_view, ash::Shell::GetRootWindowForNewWindows(), NULL);
views::Widget* widget = dialog_view->GetWidget();
DCHECK(widget);
widget->Show();

Powered by Google App Engine
This is Rietveld 408576698