Chromium Code Reviews| Index: content/browser/download/base_file.cc |
| diff --git a/content/browser/download/base_file.cc b/content/browser/download/base_file.cc |
| index 405dc10e551935bb5852e63a496267abc386957a..ff0757017f793afe3b415851f00b15e5638797ce 100644 |
| --- a/content/browser/download/base_file.cc |
| +++ b/content/browser/download/base_file.cc |
| @@ -182,6 +182,7 @@ void BaseFile::Cancel() { |
| bound_net_log_.AddEvent(net::NetLog::TYPE_CANCELLED); |
| Close(); |
| + Detach(); |
|
Randy Smith (Not in Mondays)
2014/05/23 19:05:21
Hmmm. I'm a bit uncomfortable with the abstractio
|
| if (!full_path_.empty()) { |
| bound_net_log_.AddEvent(net::NetLog::TYPE_DOWNLOAD_FILE_DELETED); |