Index: chrome/browser/download/download_file_unittest.cc |
diff --git a/chrome/browser/download/download_file_unittest.cc b/chrome/browser/download/download_file_unittest.cc |
index 7ecf3a0aa599e64c6935c16031fc9f9a8eaaec76..1cb1b008c841e71c16bfd600cb037a73771ff814 100644 |
--- a/chrome/browser/download/download_file_unittest.cc |
+++ b/chrome/browser/download/download_file_unittest.cc |
@@ -39,6 +39,8 @@ class DownloadFileTest : public testing::Test { |
} |
~DownloadFileTest() { |
+ // Need to destroy the |DownloadFile| before |file_thread_|. |
+ download_file_.reset(NULL); |
cbentzel
2011/08/16 15:50:36
Was this a leak? Why is this needed now?
ahendrickson
2011/08/18 21:52:01
I did need that at one point, but it doesn't look
|
} |
virtual void SetUp() { |