| Index: net/disk_cache/blockfile/block_files.cc
|
| diff --git a/net/disk_cache/blockfile/block_files.cc b/net/disk_cache/blockfile/block_files.cc
|
| index f7cc38178f4b8ffb10cd10e3291cc9bbdf7d2bb4..10798dae2bfe97beed1ed812b60364b5565f1410 100644
|
| --- a/net/disk_cache/blockfile/block_files.cc
|
| +++ b/net/disk_cache/blockfile/block_files.cc
|
| @@ -432,7 +432,7 @@ bool BlockFiles::IsValid(Addr address) {
|
|
|
| static bool read_contents = false;
|
| if (read_contents) {
|
| - scoped_ptr<char[]> buffer;
|
| + std::unique_ptr<char[]> buffer;
|
| buffer.reset(new char[Addr::BlockSizeForFileType(BLOCK_4K) * 4]);
|
| size_t size = address.BlockSize() * address.num_blocks();
|
| size_t offset = address.start_block() * address.BlockSize() +
|
|
|