Index: chrome/browser/value_store/value_store_frontend_unittest.cc |
diff --git a/chrome/browser/value_store/value_store_frontend_unittest.cc b/chrome/browser/value_store/value_store_frontend_unittest.cc |
index 98b396a8943a1ec1d3ecb28b0660ef4375744a23..c5e633918e61bc1d6686a811d17abc573e1dc213 100644 |
--- a/chrome/browser/value_store/value_store_frontend_unittest.cc |
+++ b/chrome/browser/value_store/value_store_frontend_unittest.cc |
@@ -36,7 +36,7 @@ class ValueStoreFrontendTest : public testing::Test { |
} |
virtual void TearDown() { |
- MessageLoop::current()->RunAllPending(); // wait for storage to delete |
+ MessageLoop::current()->RunUntilIdle(); // wait for storage to delete |
storage_.reset(); |
} |