Index: third_party/zlib/google/zip_reader.cc |
diff --git a/third_party/zlib/google/zip_reader.cc b/third_party/zlib/google/zip_reader.cc |
index 6be6dc1e64ca48183e5e98c0c207a47f5227f7a1..d9df963858b25f7034cba6b752ef09027be96272 100644 |
--- a/third_party/zlib/google/zip_reader.cc |
+++ b/third_party/zlib/google/zip_reader.cc |
@@ -303,7 +303,7 @@ bool ZipReader::ExtractCurrentEntry(WriterDelegate* delegate) const { |
return false; |
bool success = true; // This becomes false when something bad happens. |
- scoped_ptr<char[]> buf(new char[internal::kZipBufSize]); |
+ std::unique_ptr<char[]> buf(new char[internal::kZipBufSize]); |
while (true) { |
const int num_bytes_read = unzReadCurrentFile(zip_file_, buf.get(), |
internal::kZipBufSize); |