| Index: components/policy/core/common/mac_util.cc
|
| diff --git a/components/policy/core/common/mac_util.cc b/components/policy/core/common/mac_util.cc
|
| index 04167e00a1e78877a85d70b411e20c210e1f254f..911453d517a402d5555de3146b1862442ee4fc0d 100644
|
| --- a/components/policy/core/common/mac_util.cc
|
| +++ b/components/policy/core/common/mac_util.cc
|
| @@ -8,6 +8,7 @@
|
| #include <utility>
|
|
|
| #include "base/mac/foundation_util.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/strings/sys_string_conversions.h"
|
| #include "base/values.h"
|
|
|
| @@ -46,7 +47,7 @@ void ArrayEntryToValue(const void* value, void* context) {
|
|
|
| std::unique_ptr<base::Value> PropertyToValue(CFPropertyListRef property) {
|
| if (CFCast<CFNullRef>(property))
|
| - return base::Value::CreateNullValue();
|
| + return base::MakeUnique<base::Value>();
|
|
|
| if (CFBooleanRef boolean = CFCast<CFBooleanRef>(property)) {
|
| return std::unique_ptr<base::Value>(
|
|
|