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

Unified Diff: chrome/browser/themes/theme_syncable_service_unittest.cc

Issue 11413050: chrome/browser: Update calls from RunAllPending() to RunUntilIdle(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: chrome/browser/themes/theme_syncable_service_unittest.cc
diff --git a/chrome/browser/themes/theme_syncable_service_unittest.cc b/chrome/browser/themes/theme_syncable_service_unittest.cc
index 3c474c213a819d6f01be4aff465dd9df534d45e6..e7f9a2db8f6f18cc23d03b4bc77c094809ef9228 100644
--- a/chrome/browser/themes/theme_syncable_service_unittest.cc
+++ b/chrome/browser/themes/theme_syncable_service_unittest.cc
@@ -167,7 +167,7 @@ class ThemeSyncableServiceTest : public testing::Test {
virtual void TearDown() {
profile_.reset();
- loop_.RunAllPending();
+ loop_.RunUntilIdle();
}
void SetUpExtension() {
@@ -181,7 +181,7 @@ class ThemeSyncableServiceTest : public testing::Test {
false);
EXPECT_TRUE(service->extensions_enabled());
service->Init();
- loop_.RunAllPending();
+ loop_.RunUntilIdle();
// Create and add custom theme extension so the ThemeSyncableService can
// find it.

Powered by Google App Engine
This is Rietveld 408576698