diff options
Diffstat (limited to 'content/browser/download/base_file.cc')
-rw-r--r-- | content/browser/download/base_file.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/download/base_file.cc b/content/browser/download/base_file.cc index f7d045d2..4564548 100644 --- a/content/browser/download/base_file.cc +++ b/content/browser/download/base_file.cc @@ -455,9 +455,9 @@ bool BaseFile::SetHashState(const std::string& hash_state_bytes) { return false; Pickle hash_state(hash_state_bytes.c_str(), hash_state_bytes.size()); - void* data_iterator = NULL; + PickleIterator data_iterator(hash_state); - return secure_hash_->Deserialize(&data_iterator, &hash_state); + return secure_hash_->Deserialize(&data_iterator); } bool BaseFile::IsEmptyHash(const std::string& hash) { |