Index: tools/gn/target_generator.cc |
diff --git a/tools/gn/target_generator.cc b/tools/gn/target_generator.cc |
index 4a84bcd5cd28ce450d06ea9f92940b6a9e6fd858..2132a5b06bdca2565ce9e04c2aa8d2bf05f12ab1 100644 |
--- a/tools/gn/target_generator.cc |
+++ b/tools/gn/target_generator.cc |
@@ -88,7 +88,7 @@ void TargetGenerator::GenerateTarget(Scope* scope, |
if (g_scheduler->verbose_logging()) |
g_scheduler->Log("Defining target", label.GetUserVisibleName(true)); |
- scoped_ptr<Target> target(new Target(scope->settings(), label)); |
+ std::unique_ptr<Target> target(new Target(scope->settings(), label)); |
target->set_defined_from(function_call); |
// Create and call out to the proper generator. |