Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1499)

Unified Diff: chrome/browser/download/download_file_unittest.cc

Issue 7646025: Detect file system errors during downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698