| Index: ash/content/display/screen_orientation_controller_chromeos_unittest.cc
|
| diff --git a/ash/content/display/screen_orientation_controller_chromeos_unittest.cc b/ash/content/display/screen_orientation_controller_chromeos_unittest.cc
|
| index 2802067b01ebdda81b7e48f74cec0a4aab013e6e..77171fa4fc8432f4c6a02727a286031d61ca902e 100644
|
| --- a/ash/content/display/screen_orientation_controller_chromeos_unittest.cc
|
| +++ b/ash/content/display/screen_orientation_controller_chromeos_unittest.cc
|
| @@ -14,7 +14,6 @@
|
| #include "ash/display/display_manager.h"
|
| #include "ash/shell.h"
|
| #include "ash/test/ash_test_base.h"
|
| -#include "ash/test/ash_test_environment_content.h"
|
| #include "ash/test/ash_test_helper.h"
|
| #include "ash/test/content/test_shell_content_state.h"
|
| #include "ash/test/display_manager_test_api.h"
|
| @@ -109,10 +108,8 @@
|
| ~ScreenOrientationControllerTest() override;
|
|
|
| content::ScreenOrientationDelegate* delegate() {
|
| - test::AshTestEnvironmentContent* test_environment_content =
|
| - static_cast<test::AshTestEnvironmentContent*>(
|
| - ash_test_helper()->ash_test_environment());
|
| - return test_environment_content->test_shell_content_state()
|
| + return ash_test_helper()
|
| + ->test_shell_content_state()
|
| ->screen_orientation_delegate();
|
| }
|
|
|
|
|