Index: ash/test/ash_test_base.cc |
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc |
index 5b4a6b6ecd85a1fbc756b3c7eeebe6985131d2f7..429cc825d1b691bbfe7afe76678f77c237ecdb81 100644 |
--- a/ash/test/ash_test_base.cc |
+++ b/ash/test/ash_test_base.cc |
@@ -135,6 +135,9 @@ void AshTestBase::TearDown() { |
metro_viewer_host_.reset(); |
#endif |
event_generator_.reset(); |
+ // Some tests set an internal display id, |
+ // reset it here, so other tests will continue in a clean environment. |
+ gfx::Display::SetInternalDisplayId(gfx::Display::kInvalidDisplayID); |
} |
aura::test::EventGenerator& AshTestBase::GetEventGenerator() { |