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

Unified Diff: ash/content/display/screen_orientation_controller_chromeos_unittest.cc

Issue 2303453003: Revert of Moves ash content specific tests into ash_content_unittests (Closed)
Patch Set: Created 4 years, 4 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/ash.gyp ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « ash/ash.gyp ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698