Index: tools/gn/input_conversion.cc |
diff --git a/tools/gn/input_conversion.cc b/tools/gn/input_conversion.cc |
index b43ee121aa2521e66540ec634c958d33bc582c27..043737a72ac8a2e22ababcd70d6574069eb18ae4 100644 |
--- a/tools/gn/input_conversion.cc |
+++ b/tools/gn/input_conversion.cc |
@@ -38,7 +38,7 @@ Value ParseValueOrScope(const Settings* settings, |
// so the origin parse nodes for the values will be preserved. |
InputFile* input_file; |
std::vector<Token>* tokens; |
- scoped_ptr<ParseNode>* parse_root_ptr; |
+ std::unique_ptr<ParseNode>* parse_root_ptr; |
g_scheduler->input_file_manager()->AddDynamicInput( |
SourceFile(), &input_file, &tokens, &parse_root_ptr); |
@@ -74,7 +74,7 @@ Value ParseValueOrScope(const Settings* settings, |
if (!parse_root) |
return Value(); |
- scoped_ptr<Scope> scope(new Scope(settings)); |
+ std::unique_ptr<Scope> scope(new Scope(settings)); |
Value result = parse_root->Execute(scope.get(), err); |
if (err->has_error()) |
return Value(); |