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

Unified Diff: ash/test/ash_test_base.cc

Issue 2906873003: chromeos: turn on simplified display management for mash (Closed)
Patch Set: bug refs Created 3 years, 6 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/shell.cc ('k') | ash/test/ash_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index 1de82986a3aba0df5d9f74e83dd8e73b565b685e..ef6c1f159d367c62cb5ef4bd8d97a6e9f3cdff70 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -241,7 +241,7 @@ display::Display::Rotation AshTestBase::GetCurrentInternalDisplayRotation() {
}
void AshTestBase::UpdateDisplay(const std::string& display_specs) {
- if (Shell::GetAshConfig() == Config::MASH) {
+ if (!Shell::ShouldEnableSimplifiedDisplayManagement()) {
ash_test_helper_->UpdateDisplayForMash(display_specs);
} else {
display::test::DisplayManagerTestApi(Shell::Get()->display_manager())
« no previous file with comments | « ash/shell.cc ('k') | ash/test/ash_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698