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

Unified Diff: ash/magnifier/magnification_controller.cc

Issue 2739553005: Moves maintaining root_window_for_new_windows_ to Shell (Closed)
Patch Set: rename GetTargetWindow and further cleanup 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: ash/magnifier/magnification_controller.cc
diff --git a/ash/magnifier/magnification_controller.cc b/ash/magnifier/magnification_controller.cc
index aa8295b4057111d6d95664795c15356d60e8726a..78c2cabdf8d41bd74e01c4ee1a611e4e8c30fc97 100644
--- a/ash/magnifier/magnification_controller.cc
+++ b/ash/magnifier/magnification_controller.cc
@@ -540,7 +540,7 @@ void MagnificationControllerImpl::OnWindowDestroying(
// destroyed before the root windows get destroyed.
DCHECK(root_window);
- aura::Window* target_root_window = Shell::GetTargetRootWindow();
+ aura::Window* target_root_window = Shell::GetRootWindowForNewWindows();
CHECK(target_root_window);
// The destroyed root window must not be target.

Powered by Google App Engine
This is Rietveld 408576698