Index: chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc |
diff --git a/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc b/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc |
index b66644d3924fbd5b47a04de329491ed4ff452f22..a335c4ae96b6d34416a75afd1d4838836d04f7d6 100644 |
--- a/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc |
+++ b/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc |
@@ -184,7 +184,7 @@ class SyncNewNonFrontendDataTypeControllerTest : public testing::Test { |
if (!done.IsSignaled()) { |
ADD_FAILURE() << "Timed out waiting for DB thread to finish."; |
} |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
} |
protected: |