| Index: net/sdch/sdch_owner.cc
|
| diff --git a/net/sdch/sdch_owner.cc b/net/sdch/sdch_owner.cc
|
| index a3ef30ec85361be36de26ec05695b0bede93a8a1..f29a780b61f7eb7659fa25a81c32482cdc965216 100644
|
| --- a/net/sdch/sdch_owner.cc
|
| +++ b/net/sdch/sdch_owner.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "net/sdch/sdch_owner.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/bind.h"
|
| #include "base/debug/alias.h"
|
| #include "base/logging.h"
|
| @@ -98,11 +100,11 @@ base::DictionaryValue* GetPersistentStoreDictionaryMap(
|
| // above schema, removing anything previously in the store under
|
| // kPreferenceName.
|
| void InitializePrefStore(WriteablePrefStore* store) {
|
| - base::DictionaryValue* empty_store(new base::DictionaryValue);
|
| + scoped_ptr<base::DictionaryValue> empty_store(new base::DictionaryValue);
|
| empty_store->SetInteger(kVersionKey, kVersion);
|
| empty_store->Set(kDictionariesKey,
|
| make_scoped_ptr(new base::DictionaryValue));
|
| - store->SetValue(kPreferenceName, empty_store,
|
| + store->SetValue(kPreferenceName, std::move(empty_store),
|
| WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
|
| }
|
|
|
|
|