summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-17 13:45:10 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-17 13:45:10 +0000
commitbb3ac54db26011764c23c22802a324a3da03aea5 (patch)
tree5f2555d4572d05d2438fa6946a2ec705c608dcac
parent91dde59cfdb1f3ab3bab826bc5864cce94796539 (diff)
downloadchromium_src-bb3ac54db26011764c23c22802a324a3da03aea5.zip
chromium_src-bb3ac54db26011764c23c22802a324a3da03aea5.tar.gz
chromium_src-bb3ac54db26011764c23c22802a324a3da03aea5.tar.bz2
Memory leak fix for FileWriterDelegateTest
BUG=none TEST=FileWriterDelegateTest with valgrind TBR=hbono@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85625 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/fileapi/file_writer_delegate_unittest.cc2
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(