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

Unified Diff: ui/events/gesture_detection/gesture_provider_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
« no previous file with comments | « ui/aura/window_tree_host_win.cc ('k') | ui/events/platform/platform_event_source_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gesture_detection/gesture_provider_unittest.cc
diff --git a/ui/events/gesture_detection/gesture_provider_unittest.cc b/ui/events/gesture_detection/gesture_provider_unittest.cc
index 3cc45f938d5bff6dd143677431979a64996c276f..25611a22386deb2d3acb51389fa9115691ec437e 100644
--- a/ui/events/gesture_detection/gesture_provider_unittest.cc
+++ b/ui/events/gesture_detection/gesture_provider_unittest.cc
@@ -409,7 +409,7 @@ class GestureProviderTest : public testing::Test, public GestureProviderClient {
static void RunTasksAndWait(base::TimeDelta delay) {
base::MessageLoop::current()->PostDelayedTask(
- FROM_HERE, base::MessageLoop::QuitClosure(), delay);
+ FROM_HERE, base::MessageLoop::QuitWhenIdleClosure(), delay);
base::MessageLoop::current()->Run();
sadrul 2015/10/09 20:48:25 This could be a non-static method that uses messag
ki.stfu 2015/10/09 21:25:37 Yes in theory, bug I'm not sure base::MessageLoop:
ki.stfu 2015/10/12 19:18:30 BTW, seems like an unused field at all. I made a n
}
« no previous file with comments | « ui/aura/window_tree_host_win.cc ('k') | ui/events/platform/platform_event_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698