| Index: extensions/browser/content_verify_job.cc
|
| diff --git a/extensions/browser/content_verify_job.cc b/extensions/browser/content_verify_job.cc
|
| index 80dfcf0d240c046ed76bcb5ecf08a74fe8cd4d9b..e10f8637420d8fc6d0bb79b5f22f39d92ccb927d 100644
|
| --- a/extensions/browser/content_verify_job.cc
|
| +++ b/extensions/browser/content_verify_job.cc
|
| @@ -96,10 +96,9 @@ void ContentVerifyJob::BytesRead(int count, const char* data) {
|
| if (current_block_ >= hash_reader_->block_count())
|
| return DispatchFailureCallback(HASH_MISMATCH);
|
|
|
| - if (!current_hash_.get()) {
|
| + if (!current_hash_) {
|
| current_hash_byte_count_ = 0;
|
| - current_hash_.reset(
|
| - crypto::SecureHash::Create(crypto::SecureHash::SHA256));
|
| + current_hash_ = crypto::SecureHash::Create(crypto::SecureHash::SHA256);
|
| }
|
| // Compute how many bytes we should hash, and add them to the current hash.
|
| int bytes_to_hash =
|
|
|