| Index: tools/json_schema_compiler/util.cc
|
| diff --git a/tools/json_schema_compiler/util.cc b/tools/json_schema_compiler/util.cc
|
| index dcb44ecb1323accbc16cc370ccbabb7c48f1379e..d1a16261d2a85ac3a8b2c9b29aaa34da357eda78 100644
|
| --- a/tools/json_schema_compiler/util.cc
|
| +++ b/tools/json_schema_compiler/util.cc
|
| @@ -160,12 +160,12 @@ void AddItemToList(const std::vector<char>& from, base::ListValue* out) {
|
|
|
| void AddItemToList(const std::unique_ptr<base::Value>& from,
|
| base::ListValue* out) {
|
| - out->Append(from->DeepCopy());
|
| + out->Append(from->CreateDeepCopy());
|
| }
|
|
|
| void AddItemToList(const std::unique_ptr<base::DictionaryValue>& from,
|
| base::ListValue* out) {
|
| - out->Append(static_cast<base::Value*>(from->DeepCopy()));
|
| + out->Append(from->CreateDeepCopy());
|
| }
|
|
|
| std::string ValueTypeToString(base::Value::Type type) {
|
|
|