Index: storage/browser/fileapi/file_system_operation_impl_write_unittest.cc |
diff --git a/storage/browser/fileapi/file_system_operation_impl_write_unittest.cc b/storage/browser/fileapi/file_system_operation_impl_write_unittest.cc |
index ebc48d747cae7de6ae34d925ca4832cd1962408d..ab682226968b8f08fc8c4233d8ec5503c830fe86 100644 |
--- a/storage/browser/fileapi/file_system_operation_impl_write_unittest.cc |
+++ b/storage/browser/fileapi/file_system_operation_impl_write_unittest.cc |
@@ -139,7 +139,7 @@ class FileSystemOperationImplWriteTest : public testing::Test { |
EXPECT_EQ(status_, base::File::FILE_OK); |
complete_ = true; |
status_ = status; |
- if (base::MessageLoop::current()->is_running()) |
+ if (base::RunLoop::IsRunningOnCurrentThread()) |
base::MessageLoop::current()->QuitWhenIdle(); |
} |
} |