Index: webkit/fileapi/local_file_system_test_helper.cc |
diff --git a/webkit/fileapi/local_file_system_test_helper.cc b/webkit/fileapi/local_file_system_test_helper.cc |
index 59a7d25af17adeb5380b46fdf97bca0ac24669fd..2de3aca3d867334bb2a3a7c19b8ea812cd6accd1 100644 |
--- a/webkit/fileapi/local_file_system_test_helper.cc |
+++ b/webkit/fileapi/local_file_system_test_helper.cc |
@@ -105,7 +105,7 @@ void LocalFileSystemTestOriginHelper::SetUp( |
void LocalFileSystemTestOriginHelper::TearDown() { |
file_system_context_ = NULL; |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
} |
FilePath LocalFileSystemTestOriginHelper::GetOriginRootPath() const { |