Index: tools/gn/toolchain.cc |
diff --git a/tools/gn/toolchain.cc b/tools/gn/toolchain.cc |
index 280fb12d6f2a734e225897a15605f86e4c4c8265..14d2bfd159590bb0775d5b081f2ebb42e8f5779e 100644 |
--- a/tools/gn/toolchain.cc |
+++ b/tools/gn/toolchain.cc |
@@ -91,7 +91,7 @@ const Tool* Toolchain::GetTool(ToolType type) const { |
return tools_[static_cast<size_t>(type)].get(); |
} |
-void Toolchain::SetTool(ToolType type, scoped_ptr<Tool> t) { |
+void Toolchain::SetTool(ToolType type, std::unique_ptr<Tool> t) { |
DCHECK(type != TYPE_NONE); |
DCHECK(!tools_[type].get()); |
t->SetComplete(); |