Index: components/policy/core/common/schema_unittest.cc |
diff --git a/components/policy/core/common/schema_unittest.cc b/components/policy/core/common/schema_unittest.cc |
index dd8c0cafe37d41255134d927905e44c10591f3b6..3ebec136ddb6e31ebee0ed4fd921bdb3403a5a37 100644 |
--- a/components/policy/core/common/schema_unittest.cc |
+++ b/components/policy/core/common/schema_unittest.cc |
@@ -10,6 +10,7 @@ |
#include <utility> |
#include "base/macros.h" |
+#include "base/memory/ptr_util.h" |
#include "base/strings/stringprintf.h" |
#include "components/policy/core/common/schema_internal.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -640,7 +641,7 @@ TEST(SchemaTest, Validate) { |
bundle.Clear(); |
bundle.SetBoolean("Boolean", true); |
bundle.SetInteger("Integer", 123); |
- bundle.Set("Null", base::Value::CreateNullValue()); |
+ bundle.Set("Null", base::MakeUnique<base::Value>()); |
bundle.Set("Number", new base::Value(3.14)); |
bundle.SetString("String", "omg"); |