Index: mojo/common/values_struct_traits.cc |
diff --git a/mojo/common/values_struct_traits.cc b/mojo/common/values_struct_traits.cc |
index 6af7a395338804f1c9b8b0eda06ee5ee8ca403d0..ef88a09cdfd9a8b85d0bcc3baa7f94a3bc3b935a 100644 |
--- a/mojo/common/values_struct_traits.cc |
+++ b/mojo/common/values_struct_traits.cc |
@@ -58,7 +58,7 @@ bool UnionTraits<common::mojom::ValueDataView, std::unique_ptr<base::Value>>:: |
std::unique_ptr<base::Value>* value_out) { |
switch (data.tag()) { |
case common::mojom::ValueDataView::Tag::NULL_VALUE: { |
- *value_out = base::Value::CreateNullValue(); |
+ *value_out = base::MakeUnique<base::Value>(); |
return true; |
} |
case common::mojom::ValueDataView::Tag::BOOL_VALUE: { |