Index: ash/test/ash_test_base.cc |
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc |
index 4cfdac726e09047866495589f9d89c02e4e67fbf..0116710690c5ae948386dd52f7e67953a3308077 100644 |
--- a/ash/test/ash_test_base.cc |
+++ b/ash/test/ash_test_base.cc |
@@ -137,6 +137,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() { |