Index: chrome/browser/safe_browsing/protocol_parser.cc |
diff --git a/chrome/browser/safe_browsing/protocol_parser.cc b/chrome/browser/safe_browsing/protocol_parser.cc |
index fd2a3f3b0a981c51bf11db2c67fc150817b98031..16561e875aa46678af7dfca12eb2637520d3ec38 100644 |
--- a/chrome/browser/safe_browsing/protocol_parser.cc |
+++ b/chrome/browser/safe_browsing/protocol_parser.cc |
@@ -392,7 +392,7 @@ bool ParseUpdate(const char* chunk_data, |
// CHUNKDATA = Encoded ChunkData protocol message |
bool ParseChunk(const char* data, |
size_t length, |
- std::vector<scoped_ptr<SBChunkData>>* chunks) { |
+ std::vector<std::unique_ptr<SBChunkData>>* chunks) { |
BufferReader reader(data, length); |
while (!reader.empty()) { |
@@ -404,7 +404,7 @@ bool ParseChunk(const char* data, |
if (!reader.RefData(&p, l)) |
return false; |
- scoped_ptr<SBChunkData> chunk(new SBChunkData()); |
+ std::unique_ptr<SBChunkData> chunk(new SBChunkData()); |
if (!chunk->ParseFrom(reinterpret_cast<const unsigned char*>(p), l)) |
return false; |