Index: tools/gn/scope_unittest.cc |
diff --git a/tools/gn/scope_unittest.cc b/tools/gn/scope_unittest.cc |
index ce79973c54edba9e191a5422b5a9b76ca5a471c0..de2005a5144e8e19f903568ed8957807acf1aeda 100644 |
--- a/tools/gn/scope_unittest.cc |
+++ b/tools/gn/scope_unittest.cc |
@@ -217,7 +217,7 @@ TEST(Scope, MakeClosure) { |
nested2.SetValue("on_two", Value(&assignment, "on_two2"), &assignment); |
// Making a closure from the root scope. |
- scoped_ptr<Scope> result = setup.scope()->MakeClosure(); |
+ std::unique_ptr<Scope> result = setup.scope()->MakeClosure(); |
EXPECT_FALSE(result->containing()); // Should have no containing scope. |
EXPECT_TRUE(result->GetValue("on_root")); // Value should be copied. |