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

Unified Diff: ui/wm/core/nested_accelerator_controller_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/wm/core/nested_accelerator_controller_unittest.cc
diff --git a/ui/wm/core/nested_accelerator_controller_unittest.cc b/ui/wm/core/nested_accelerator_controller_unittest.cc
index 4e55d4f5f26a10d3cd992aab3273672ce81081b8..cec37c90f946e56176e895ea5f3a8804a0229339 100644
--- a/ui/wm/core/nested_accelerator_controller_unittest.cc
+++ b/ui/wm/core/nested_accelerator_controller_unittest.cc
@@ -94,7 +94,7 @@ void DispatchKeyReleaseA(aura::Window* root_window) {
#endif
// Make sure the inner message-loop terminates after dispatching the events.
base::MessageLoop::current()->PostTask(
- FROM_HERE, base::MessageLoop::current()->QuitClosure());
+ FROM_HERE, base::MessageLoop::current()->QuitWhenIdleClosure());
}
class MockNestedAcceleratorDelegate : public NestedAcceleratorDelegate {

Powered by Google App Engine
This is Rietveld 408576698