Index: tools/gn/target_unittest.cc |
diff --git a/tools/gn/target_unittest.cc b/tools/gn/target_unittest.cc |
index 8629ff21d39db2628ecfb756e7d590d558656472..e2e41a8708cd2e182a173f846bd50901ac4b0aba 100644 |
--- a/tools/gn/target_unittest.cc |
+++ b/tools/gn/target_unittest.cc |
@@ -431,7 +431,7 @@ TEST(Target, LinkAndDepOutputs) { |
Toolchain toolchain(setup.settings(), Label(SourceDir("//tc/"), "tc")); |
- scoped_ptr<Tool> solink_tool(new Tool()); |
+ std::unique_ptr<Tool> solink_tool(new Tool()); |
solink_tool->set_output_prefix("lib"); |
solink_tool->set_default_output_extension(".so"); |
@@ -470,7 +470,7 @@ TEST(Target, RuntimeLinkOuput) { |
Toolchain toolchain(setup.settings(), Label(SourceDir("//tc/"), "tc")); |
- scoped_ptr<Tool> solink_tool(new Tool()); |
+ std::unique_ptr<Tool> solink_tool(new Tool()); |
solink_tool->set_output_prefix(""); |
solink_tool->set_default_output_extension(".dll"); |