| Index: net/disk_cache/simple/simple_synchronous_entry.cc
|
| diff --git a/net/disk_cache/simple/simple_synchronous_entry.cc b/net/disk_cache/simple/simple_synchronous_entry.cc
|
| index 220f6a8fea89f5a9623f38d146b745afc98622f0..d68e426d37cf0ab722c17f2630c43c1d7277b539 100644
|
| --- a/net/disk_cache/simple/simple_synchronous_entry.cc
|
| +++ b/net/disk_cache/simple/simple_synchronous_entry.cc
|
| @@ -640,7 +640,7 @@ void SimpleSynchronousEntry::CheckEOFRecord(int index,
|
|
|
| void SimpleSynchronousEntry::Close(
|
| const SimpleEntryStat& entry_stat,
|
| - scoped_ptr<std::vector<CRCRecord> > crc32s_to_write,
|
| + std::unique_ptr<std::vector<CRCRecord>> crc32s_to_write,
|
| net::GrowableIOBuffer* stream_0_data) {
|
| DCHECK(stream_0_data);
|
| // Write stream 0 data.
|
| @@ -955,7 +955,7 @@ int SimpleSynchronousEntry::InitializeForOpen(
|
| return net::ERR_FAILED;
|
| }
|
|
|
| - scoped_ptr<char[]> key(new char[header.key_length]);
|
| + std::unique_ptr<char[]> key(new char[header.key_length]);
|
| int key_read_result = files_[i].Read(sizeof(header), key.get(),
|
| header.key_length);
|
| if (key_read_result != base::checked_cast<int>(header.key_length)) {
|
|
|