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. |