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

Unified Diff: ash/display/unified_mouse_warp_controller_unittest.cc

Issue 1119953002: Enable display rotation, magnifier in unified desktop mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/display/unified_mouse_warp_controller_unittest.cc
diff --git a/ash/display/unified_mouse_warp_controller_unittest.cc b/ash/display/unified_mouse_warp_controller_unittest.cc
index 84e76f53bf6d3ffbe090d1b00315c021d4b84443..1dfa168ee2df865b1513e542c240840906ac3c8d 100644
--- a/ash/display/unified_mouse_warp_controller_unittest.cc
+++ b/ash/display/unified_mouse_warp_controller_unittest.cc
@@ -25,8 +25,7 @@ class UnifiedMouseWarpControllerTest : public test::AshTestBase {
void SetUp() override {
test::AshTestBase::SetUp();
DisplayManager* display_manager = Shell::GetInstance()->display_manager();
- test::DisplayManagerTestApi test_api(display_manager);
- test_api.SetDefaultMultiDisplayMode(DisplayManager::UNIFIED);
+ display_manager->SetDefaultMultiDisplayMode(DisplayManager::UNIFIED);
display_manager->SetMultiDisplayMode(DisplayManager::UNIFIED);
}

Powered by Google App Engine
This is Rietveld 408576698