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

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

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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_window_controller.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/test/wm_test_helper.cc
diff --git a/ash/mus/test/wm_test_helper.cc b/ash/mus/test/wm_test_helper.cc
index 9f0456e3af20061cb1be82dbe651abb6eb4e02d5..e122e5328a79529925a8c7a6597b8648dbd52279 100644
--- a/ash/mus/test/wm_test_helper.cc
+++ b/ash/mus/test/wm_test_helper.cc
@@ -181,10 +181,10 @@ void WmTestHelper::UpdateDisplay(RootWindowController* root_window_controller,
root_window_controller->root()->SetBounds(gfx::Rect(bounds.size()));
display::ScreenBase* screen =
window_manager_app_->window_manager()->screen_.get();
- const bool is_primary = screen->display_list()->FindDisplayById(
+ const bool is_primary = screen->display_list().FindDisplayById(
root_window_controller->display().id()) ==
- screen->display_list()->GetPrimaryDisplayIterator();
- screen->display_list()->UpdateDisplay(
+ screen->display_list().GetPrimaryDisplayIterator();
+ screen->display_list().UpdateDisplay(
root_window_controller->display(),
is_primary ? display::DisplayList::Type::PRIMARY
: display::DisplayList::Type::NOT_PRIMARY);
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698