Index: webkit/fileapi/local_file_system_operation_write_unittest.cc |
diff --git a/webkit/fileapi/local_file_system_operation_write_unittest.cc b/webkit/fileapi/local_file_system_operation_write_unittest.cc |
index 6ba606dd1296c3ca5e25757efbe129e517c11d30..4bf0ed01d1a6f81e68d95af2bcfc4a920a8900a7 100644 |
--- a/webkit/fileapi/local_file_system_operation_write_unittest.cc |
+++ b/webkit/fileapi/local_file_system_operation_write_unittest.cc |
@@ -313,7 +313,7 @@ TEST_F(LocalFileSystemOperationWriteTest, TestImmediateCancelSuccessfulWrite) { |
// We use RunAllPendings() instead of Run() here, because we won't dispatch |
// callbacks after Cancel() is issued (so no chance to Quit) nor do we need |
// to run another write cycle. |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
// Issued Cancel() before receiving any response from Write(), |
// so nothing should have happen. |
@@ -337,7 +337,7 @@ TEST_F(LocalFileSystemOperationWriteTest, TestImmediateCancelFailingWrite) { |
// We use RunAllPendings() instead of Run() here, because we won't dispatch |
// callbacks after Cancel() is issued (so no chance to Quit) nor do we need |
// to run another write cycle. |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
// Issued Cancel() before receiving any response from Write(), |
// so nothing should have happen. |