Index: content/browser/download/base_file.cc |
diff --git a/content/browser/download/base_file.cc b/content/browser/download/base_file.cc |
index e34970f786875d077c112a20aaf70f03cff69dd8..735793270ff8a18994792f7b0355f7ab5e140ee0 100644 |
--- a/content/browser/download/base_file.cc |
+++ b/content/browser/download/base_file.cc |
@@ -208,7 +208,7 @@ std::string BaseFile::DebugString() const { |
DownloadInterruptReason BaseFile::CalculatePartialHash( |
const std::string& hash_to_expect) { |
- secure_hash_.reset(crypto::SecureHash::Create(crypto::SecureHash::SHA256)); |
+ secure_hash_ = crypto::SecureHash::Create(crypto::SecureHash::SHA256); |
if (bytes_so_far_ == 0) |
return DOWNLOAD_INTERRUPT_REASON_NONE; |