diff options
-rw-r--r-- | webkit/fileapi/file_writer_delegate_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/fileapi/file_writer_delegate_unittest.cc b/webkit/fileapi/file_writer_delegate_unittest.cc index 80e6299..6bf6df2 100644 --- a/webkit/fileapi/file_writer_delegate_unittest.cc +++ b/webkit/fileapi/file_writer_delegate_unittest.cc @@ -233,6 +233,8 @@ void FileWriterDelegateTest::TearDown() { net::URLRequest::RegisterProtocolFactory("blob", NULL); result_.reset(); base::ClosePlatformFile(file_); + file_system_context_ = NULL; + MessageLoop::current()->RunAllPending(); } FileSystemOperation* FileWriterDelegateTest::CreateNewOperation( |