| Index: chrome/service/service_process_prefs.cc
|
| diff --git a/chrome/service/service_process_prefs.cc b/chrome/service/service_process_prefs.cc
|
| index ceded3471c6119abd77757519d4b6768ad530f8b..d4038b57ec1be3e4c4afd3aa8d3acb62ff5d9ace 100644
|
| --- a/chrome/service/service_process_prefs.cc
|
| +++ b/chrome/service/service_process_prefs.cc
|
| @@ -40,7 +40,7 @@ std::string ServiceProcessPrefs::GetString(
|
|
|
| void ServiceProcessPrefs::SetString(const std::string& key,
|
| const std::string& value) {
|
| - prefs_->SetValue(key, base::WrapUnique(new base::StringValue(value)),
|
| + prefs_->SetValue(key, base::MakeUnique<base::StringValue>(value),
|
| WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
|
| }
|
|
|
| @@ -55,7 +55,7 @@ bool ServiceProcessPrefs::GetBoolean(const std::string& key,
|
| }
|
|
|
| void ServiceProcessPrefs::SetBoolean(const std::string& key, bool value) {
|
| - prefs_->SetValue(key, base::WrapUnique(new base::FundamentalValue(value)),
|
| + prefs_->SetValue(key, base::MakeUnique<base::FundamentalValue>(value),
|
| WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
|
| }
|
|
|
| @@ -70,7 +70,7 @@ int ServiceProcessPrefs::GetInt(const std::string& key,
|
| }
|
|
|
| void ServiceProcessPrefs::SetInt(const std::string& key, int value) {
|
| - prefs_->SetValue(key, base::WrapUnique(new base::FundamentalValue(value)),
|
| + prefs_->SetValue(key, base::MakeUnique<base::FundamentalValue>(value),
|
| WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
|
| }
|
|
|
|
|