| Index: net/disk_cache/blockfile/entry_impl.cc
|
| diff --git a/net/disk_cache/blockfile/entry_impl.cc b/net/disk_cache/blockfile/entry_impl.cc
|
| index 60204641b9f270d3a4b7a26391e0c7d04f2ee984..ad947421c80306f1f8f2e8d6991620ff0c2e8efb 100644
|
| --- a/net/disk_cache/blockfile/entry_impl.cc
|
| +++ b/net/disk_cache/blockfile/entry_impl.cc
|
| @@ -902,7 +902,7 @@ bool EntryImpl::CouldBeSparse() const {
|
| if (sparse_.get())
|
| return true;
|
|
|
| - scoped_ptr<SparseControl> sparse;
|
| + std::unique_ptr<SparseControl> sparse;
|
| sparse.reset(new SparseControl(const_cast<EntryImpl*>(this)));
|
| return sparse->CouldBeSparse();
|
| }
|
| @@ -1505,7 +1505,7 @@ int EntryImpl::InitSparseData() {
|
| return net::OK;
|
|
|
| // Use a local variable so that sparse_ never goes from 'valid' to NULL.
|
| - scoped_ptr<SparseControl> sparse(new SparseControl(this));
|
| + std::unique_ptr<SparseControl> sparse(new SparseControl(this));
|
| int result = sparse->Init();
|
| if (net::OK == result)
|
| sparse_.swap(sparse);
|
|
|