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

Unified Diff: ash/test/ash_test_base.cc

Issue 2906873003: chromeos: turn on simplified display management for mash (Closed)
Patch Set: moar Created 3 years, 7 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_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index 67adb09f905e4967d8f8cf73c46265c0fb1f2499..e76649e643c18fb7a10bbd268cf58cefe5e1bb3f 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -221,7 +221,7 @@ display::Display::Rotation AshTestBase::GetCurrentInternalDisplayRotation() {
// static
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())

Powered by Google App Engine
This is Rietveld 408576698