Index: components/policy/core/common/mac_util_unittest.cc |
diff --git a/components/policy/core/common/mac_util_unittest.cc b/components/policy/core/common/mac_util_unittest.cc |
index b96e298b41f377e597fbfd4019b4f7140669245a..c25610b0a32ed14fb01f6bc13039e393df317d5f 100644 |
--- a/components/policy/core/common/mac_util_unittest.cc |
+++ b/components/policy/core/common/mac_util_unittest.cc |
@@ -9,6 +9,7 @@ |
#include <memory> |
#include "base/mac/scoped_cftyperef.h" |
+#include "base/memory/ptr_util.h" |
#include "base/values.h" |
#include "components/policy/core/common/policy_test_utils.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -19,7 +20,7 @@ TEST(PolicyMacUtilTest, PropertyToValue) { |
base::DictionaryValue root; |
// base::Value::Type::NONE |
- root.Set("null", base::Value::CreateNullValue()); |
+ root.Set("null", base::MakeUnique<base::Value>()); |
// base::Value::Type::BOOLEAN |
root.SetBoolean("false", false); |