Index: tools/gn/ninja_binary_target_writer_unittest.cc |
diff --git a/tools/gn/ninja_binary_target_writer_unittest.cc b/tools/gn/ninja_binary_target_writer_unittest.cc |
index c9b3ebef9da56d6f8c16a2148d302601f8fbe252..ca54478a0748d81a74c47fb3aebaea841070c084 100644 |
--- a/tools/gn/ninja_binary_target_writer_unittest.cc |
+++ b/tools/gn/ninja_binary_target_writer_unittest.cc |
@@ -474,7 +474,7 @@ TEST(NinjaBinaryTargetWriter, WinPrecompiledHeaders) { |
pch_settings.set_default_toolchain_label(setup.toolchain()->label()); |
// Declare a C++ compiler that supports PCH. |
- scoped_ptr<Tool> cxx_tool(new Tool); |
+ std::unique_ptr<Tool> cxx_tool(new Tool); |
TestWithScope::SetCommandForTool( |
"c++ {{source}} {{cflags}} {{cflags_cc}} {{defines}} {{include_dirs}} " |
"-o {{output}}", |
@@ -485,7 +485,7 @@ TEST(NinjaBinaryTargetWriter, WinPrecompiledHeaders) { |
pch_toolchain.SetTool(Toolchain::TYPE_CXX, std::move(cxx_tool)); |
// Add a C compiler as well. |
- scoped_ptr<Tool> cc_tool(new Tool); |
+ std::unique_ptr<Tool> cc_tool(new Tool); |
TestWithScope::SetCommandForTool( |
"cc {{source}} {{cflags}} {{cflags_c}} {{defines}} {{include_dirs}} " |
"-o {{output}}", |
@@ -602,7 +602,7 @@ TEST(NinjaBinaryTargetWriter, GCCPrecompiledHeaders) { |
pch_settings.set_default_toolchain_label(setup.toolchain()->label()); |
// Declare a C++ compiler that supports PCH. |
- scoped_ptr<Tool> cxx_tool(new Tool); |
+ std::unique_ptr<Tool> cxx_tool(new Tool); |
TestWithScope::SetCommandForTool( |
"c++ {{source}} {{cflags}} {{cflags_cc}} {{defines}} {{include_dirs}} " |
"-o {{output}}", |
@@ -614,7 +614,7 @@ TEST(NinjaBinaryTargetWriter, GCCPrecompiledHeaders) { |
pch_toolchain.ToolchainSetupComplete(); |
// Add a C compiler as well. |
- scoped_ptr<Tool> cc_tool(new Tool); |
+ std::unique_ptr<Tool> cc_tool(new Tool); |
TestWithScope::SetCommandForTool( |
"cc {{source}} {{cflags}} {{cflags_c}} {{defines}} {{include_dirs}} " |
"-o {{output}}", |