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

Unified Diff: components/wallpaper/wallpaper_resizer_unittest.cc

Issue 1402553002: Don't use base::MessageLoop::{Quit,QuitClosure} in components/ (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 | « components/storage_monitor/storage_monitor_linux_unittest.cc ('k') | components/wifi/wifi_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wallpaper/wallpaper_resizer_unittest.cc
diff --git a/components/wallpaper/wallpaper_resizer_unittest.cc b/components/wallpaper/wallpaper_resizer_unittest.cc
index 98c314ad55e958eb47acaf74dd9aa89191836a1c..5a3245ac09b4975e95df95ae0217765db75bf912 100644
--- a/components/wallpaper/wallpaper_resizer_unittest.cc
+++ b/components/wallpaper/wallpaper_resizer_unittest.cc
@@ -74,7 +74,7 @@ class WallpaperResizerTest : public testing::Test,
void WaitForResize() { message_loop_.Run(); }
- void OnWallpaperResized() override { message_loop_.Quit(); }
+ void OnWallpaperResized() override { message_loop_.QuitWhenIdle(); }
private:
base::MessageLoop message_loop_;
« no previous file with comments | « components/storage_monitor/storage_monitor_linux_unittest.cc ('k') | components/wifi/wifi_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698