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

Unified Diff: ash/test/ash_test_helper.cc

Issue 2355063002: Separate ash::test::DisplayManagerTestApi from ash (Closed)
Patch Set: review comment Created 4 years, 2 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/test/ash_test_base.cc ('k') | ash/test/ash_test_impl_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_helper.cc
diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc
index 860bf93d21f3e0053973cd49a26856ed08ec847b..a12d6c64f20a69d492e281dcf64b5c0328283560 100644
--- a/ash/test/ash_test_helper.cc
+++ b/ash/test/ash_test_helper.cc
@@ -137,7 +137,8 @@ void AshTestHelper::SetUp(bool start_session,
GetTestSessionStateDelegate()->SetHasActiveUser(true);
}
- test::DisplayManagerTestApi().DisableChangeDisplayUponHostResize();
+ test::DisplayManagerTestApi(Shell::GetInstance()->display_manager())
+ .DisableChangeDisplayUponHostResize();
ShellTestApi(shell).DisableDisplayAnimator();
test_screenshot_delegate_ = new TestScreenshotDelegate();
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/test/ash_test_impl_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698