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

Unified Diff: ui/events/platform/platform_event_source_unittest.cc

Issue 1402543002: Don't use base::MessageLoop::{Quit,QuitClosure} in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: 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;

Powered by Google App Engine
This is Rietveld 408576698