Index: ui/events/platform/platform_event_source_unittest.cc |
diff --git a/ui/events/platform/platform_event_source_unittest.cc b/ui/events/platform/platform_event_source_unittest.cc |
index ec721835e6c7ae796f324225c05f386bf4cc1175..47ffe18ffa52920b36d5e751e7727869426e3272 100644 |
--- a/ui/events/platform/platform_event_source_unittest.cc |
+++ b/ui/events/platform/platform_event_source_unittest.cc |
@@ -502,7 +502,7 @@ class PlatformEventTestWithMessageLoop : public PlatformEventTest { |
protected: |
void RunTest() { |
RunTestImpl(); |
- message_loop_.Quit(); |
+ message_loop_.QuitWhenIdle(); |
} |
virtual void RunTestImpl() = 0; |