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

Unified Diff: ash/test/ash_test_helper.cc

Issue 2728803002: Handles users rotating screen too early (Closed)
Patch Set: Make ScreenRotationAnimator handle its own internal states. 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/test/ash_test_helper.cc
diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc
index 7421eec716f78ca26da957e83c8ad050fefdf6d0..1db7ba51a76786e6e4fa11923ea7593500ff2d42 100644
--- a/ash/test/ash_test_helper.cc
+++ b/ash/test/ash_test_helper.cc
@@ -18,7 +18,7 @@
#include "ash/system/chromeos/screen_layout_observer.h"
#include "ash/test/ash_test_environment.h"
#include "ash/test/ash_test_views_delegate.h"
-#include "ash/test/shell_test_api.h"
+#include "ash/test/display_configuration_controller_test_api.h"
#include "ash/test/test_screenshot_delegate.h"
#include "ash/test/test_shell_delegate.h"
#include "base/memory/ptr_util.h"
@@ -158,7 +158,9 @@ void AshTestHelper::SetUp(bool start_session) {
display::test::DisplayManagerTestApi(
Shell::GetInstance()->display_manager())
.DisableChangeDisplayUponHostResize();
- ShellTestApi(shell).DisableDisplayAnimator();
+ DisplayConfigurationControllerTestApi(
+ shell->display_configuration_controller())
+ .DisableDisplayAnimator();
// TODO: disabled for mash as AcceleratorControllerDelegateAura isn't
// created in mash http://crbug.com/632111.

Powered by Google App Engine
This is Rietveld 408576698