Index: chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc |
diff --git a/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc b/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc |
index f12551d6eac7fb4ff8ab129e0ed02ff5b0470633..4afb2cfd73a7288cef9170518f2cbb978ab4484c 100644 |
--- a/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc |
+++ b/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc |
@@ -74,13 +74,13 @@ class BrowsingDataFileSystemHelperTest : public testing::Test { |
helper_ = BrowsingDataFileSystemHelper::Create( |
BrowserContext::GetDefaultStoragePartition(profile_.get())-> |
GetFileSystemContext()); |
- message_loop_.RunAllPending(); |
+ message_loop_.RunUntilIdle(); |
canned_helper_ = new CannedBrowsingDataFileSystemHelper(profile_.get()); |
} |
virtual ~BrowsingDataFileSystemHelperTest() { |
// Avoid memory leaks. |
profile_.reset(); |
- message_loop_.RunAllPending(); |
+ message_loop_.RunUntilIdle(); |
} |
TestingProfile* GetProfile() { |