| Index: net/disk_cache/blockfile/mapped_file_win.cc
|
| diff --git a/net/disk_cache/blockfile/mapped_file_win.cc b/net/disk_cache/blockfile/mapped_file_win.cc
|
| index d725238e32eba567ba530dd9c8eec96a4c2f2d24..9a128a36d0e6af66af392d758c0861a41b2a4f0e 100644
|
| --- a/net/disk_cache/blockfile/mapped_file_win.cc
|
| +++ b/net/disk_cache/blockfile/mapped_file_win.cc
|
| @@ -4,9 +4,10 @@
|
|
|
| #include "net/disk_cache/blockfile/mapped_file.h"
|
|
|
| +#include <memory>
|
| +
|
| #include "base/files/file_path.h"
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "net/disk_cache/disk_cache.h"
|
|
|
| namespace disk_cache {
|
| @@ -29,7 +30,7 @@ void* MappedFile::Init(const base::FilePath& name, size_t size) {
|
|
|
| // Make sure we detect hardware failures reading the headers.
|
| size_t temp_len = size ? size : 4096;
|
| - scoped_ptr<char[]> temp(new char[temp_len]);
|
| + std::unique_ptr<char[]> temp(new char[temp_len]);
|
| if (!Read(temp.get(), temp_len, 0))
|
| return NULL;
|
|
|
|
|