| Index: tools/json_schema_compiler/cpp_type_generator.py
|
| diff --git a/tools/json_schema_compiler/cpp_type_generator.py b/tools/json_schema_compiler/cpp_type_generator.py
|
| index 23460c63699c6a6a8845a2978794d5103585c475..269a99572c1453a789597dbbcf6b0b5dae01b79b 100644
|
| --- a/tools/json_schema_compiler/cpp_type_generator.py
|
| +++ b/tools/json_schema_compiler/cpp_type_generator.py
|
| @@ -125,7 +125,7 @@ class CppTypeGenerator(object):
|
| # Wrap ptrs and base::Values in containers (which aren't movable) in
|
| # scoped_ptrs.
|
| if is_ptr or (is_in_container and is_base_value):
|
| - cpp_type = 'scoped_ptr<%s>' % cpp_util.PadForGenerics(cpp_type)
|
| + cpp_type = 'std::unique_ptr<%s>' % cpp_util.PadForGenerics(cpp_type)
|
|
|
| return cpp_type
|
|
|
|
|