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

Unified Diff: ash/mus/test/wm_test_base.cc

Issue 2072343002: Changes how window manager obtains WindowTree from mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include Created 4 years, 6 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 | « ash/mus/root_windows_observer.h ('k') | ash/mus/test/wm_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/test/wm_test_base.cc
diff --git a/ash/mus/test/wm_test_base.cc b/ash/mus/test/wm_test_base.cc
index f99703ce86b169c2ee8c7de08c8ced0db613e0d9..0811793ee3c5998795d91b08b902b8269c300904 100644
--- a/ash/mus/test/wm_test_base.cc
+++ b/ash/mus/test/wm_test_base.cc
@@ -200,8 +200,9 @@ void WmTestBase::TearDown() {
}
std::vector<RootWindowController*> WmTestBase::GetRootsOrderedByDisplayId() {
- std::set<RootWindowController*> roots =
- test_helper_->window_manager_app()->GetRootControllers();
+ std::set<RootWindowController*> roots = test_helper_->window_manager_app()
+ ->window_manager()
+ ->GetRootWindowControllers();
std::vector<RootWindowController*> ordered_roots;
ordered_roots.insert(ordered_roots.begin(), roots.begin(), roots.end());
std::sort(ordered_roots.begin(), ordered_roots.end(), &CompareByDisplayId);
« no previous file with comments | « ash/mus/root_windows_observer.h ('k') | ash/mus/test/wm_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698