Index: ash/test/ash_test_base.cc |
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc |
index f49a5ac9cad82f6db243221b3aee7e4d6cfc32e5..5e62df8ab677ee399a5bb03f579e72c64e93f9b3 100644 |
--- a/ash/test/ash_test_base.cc |
+++ b/ash/test/ash_test_base.cc |
@@ -225,7 +225,7 @@ display::Display::Rotation AshTestBase::GetCurrentInternalDisplayRotation() { |
// static |
void AshTestBase::UpdateDisplay(const std::string& display_specs) { |
- if (Shell::GetAshConfig() != Config::CLASSIC) { |
+ if (Shell::GetAshConfig() == Config::MASH) { |
ash_test_helper_->UpdateDisplayForMash(display_specs); |
} else { |
display::test::DisplayManagerTestApi(Shell::Get()->display_manager()) |