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

Unified Diff: content/test/appcache_test_helper.cc

Issue 1398153002: Don't use base::MessageLoop::{Quit,QuitClosure} in content/ (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: content/test/appcache_test_helper.cc
diff --git a/content/test/appcache_test_helper.cc b/content/test/appcache_test_helper.cc
index 1a95c05af904e80ac59b607f7e3e5bed3761bab4..252d801389848c38a43f7dbf622b55f080182d77 100644
--- a/content/test/appcache_test_helper.cc
+++ b/content/test/appcache_test_helper.cc
@@ -29,7 +29,7 @@ void AppCacheTestHelper::OnGroupAndNewestCacheStored(
bool success,
bool /*would_exceed_quota*/) {
ASSERT_TRUE(success);
- base::MessageLoop::current()->Quit();
+ base::MessageLoop::current()->QuitWhenIdle();
}
void AppCacheTestHelper::AddGroupAndCache(AppCacheServiceImpl*
@@ -74,7 +74,7 @@ void AppCacheTestHelper::OnGotAppCacheInfo(int rv) {
origin != appcache_info_->infos_by_origin.end(); ++origin) {
origins_->insert(origin->first);
}
- base::MessageLoop::current()->Quit();
+ base::MessageLoop::current()->QuitWhenIdle();
}
} // namespace content
« no previous file with comments | « content/shell/browser/shell_mojo_test_utils_android.cc ('k') | content/test/test_blink_web_unit_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698