Index: chrome/common/safe_browsing/zip_analyzer.cc |
diff --git a/chrome/common/safe_browsing/zip_analyzer.cc b/chrome/common/safe_browsing/zip_analyzer.cc |
index 6f834c48c7aabd7f28a3967b3f7716acf12c213f..9a4b9e8a847abf3cacb4608034ef6f655f136a75 100644 |
--- a/chrome/common/safe_browsing/zip_analyzer.cc |
+++ b/chrome/common/safe_browsing/zip_analyzer.cc |
@@ -7,6 +7,7 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <memory> |
#include <set> |
#include "base/i18n/streaming_utf8_validator.h" |
@@ -37,7 +38,7 @@ class HashingFileWriter : public zip::FileWriterDelegate { |
void ComputeDigest(uint8_t* digest, size_t digest_length); |
private: |
- scoped_ptr<crypto::SecureHash> sha256_; |
+ std::unique_ptr<crypto::SecureHash> sha256_; |
DISALLOW_COPY_AND_ASSIGN(HashingFileWriter); |
}; |