| Index: components/policy/core/common/policy_loader_ios.mm
|
| diff --git a/components/policy/core/common/policy_loader_ios.mm b/components/policy/core/common/policy_loader_ios.mm
|
| index 8bce12fd3f37f607bf575267857d454d223852d2..0fec8058ed2cffed29f49ddf7e9954cdc3c2572f 100644
|
| --- a/components/policy/core/common/policy_loader_ios.mm
|
| +++ b/components/policy/core/common/policy_loader_ios.mm
|
| @@ -109,8 +109,8 @@ void PolicyLoaderIOS::InitOnBackgroundThread() {
|
| taskRunner:task_runner()]);
|
| }
|
|
|
| -scoped_ptr<PolicyBundle> PolicyLoaderIOS::Load() {
|
| - scoped_ptr<PolicyBundle> bundle(new PolicyBundle());
|
| +std::unique_ptr<PolicyBundle> PolicyLoaderIOS::Load() {
|
| + std::unique_ptr<PolicyBundle> bundle(new PolicyBundle());
|
| NSDictionary* configuration = [[NSUserDefaults standardUserDefaults]
|
| dictionaryForKey:kConfigurationKey];
|
| id chromePolicy = configuration[kChromePolicyKey];
|
| @@ -173,7 +173,7 @@ void PolicyLoaderIOS::LoadNSDictionaryToPolicyBundle(NSDictionary* dictionary,
|
| PolicyBundle* bundle) {
|
| // NSDictionary is toll-free bridged to CFDictionaryRef, which is a
|
| // CFPropertyListRef.
|
| - scoped_ptr<base::Value> value =
|
| + std::unique_ptr<base::Value> value =
|
| PropertyToValue(static_cast<CFPropertyListRef>(dictionary));
|
| base::DictionaryValue* dict = NULL;
|
| if (value && value->GetAsDictionary(&dict)) {
|
|
|