Index: tools/gn/scope.cc |
diff --git a/tools/gn/scope.cc b/tools/gn/scope.cc |
index dc22367eb573feeca85b7604a80eca35e99414b6..d3d29d44927ca7d1a6105d24cbeaf008560a177d 100644 |
--- a/tools/gn/scope.cc |
+++ b/tools/gn/scope.cc |
@@ -380,8 +380,8 @@ bool Scope::NonRecursiveMergeTo(Scope* dest, |
return true; |
} |
-scoped_ptr<Scope> Scope::MakeClosure() const { |
- scoped_ptr<Scope> result; |
+std::unique_ptr<Scope> Scope::MakeClosure() const { |
+ std::unique_ptr<Scope> result; |
if (const_containing_) { |
// We reached the top of the mutable scope stack. The result scope just |
// references the const scope (which will never change). |