| Index: net/disk_cache/blockfile/entry_impl_v3.cc
|
| diff --git a/net/disk_cache/blockfile/entry_impl_v3.cc b/net/disk_cache/blockfile/entry_impl_v3.cc
|
| index 883a6f24ade2e684ff16d50cc63756643284339a..bb7021046a1a09709820b2fec0a3cf76b720db7e 100644
|
| --- a/net/disk_cache/blockfile/entry_impl_v3.cc
|
| +++ b/net/disk_cache/blockfile/entry_impl_v3.cc
|
| @@ -689,7 +689,7 @@ bool EntryImplV3::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();
|
| }
|
| @@ -1326,7 +1326,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);
|
|
|