Index: tools/gn/template.h |
diff --git a/tools/gn/template.h b/tools/gn/template.h |
index 43aaf7f43a919d461ea7a93f06b3974d2d45bb67..a79d82f368ba3414a6b36c1f8b02a1f46612f02d 100644 |
--- a/tools/gn/template.h |
+++ b/tools/gn/template.h |
@@ -5,10 +5,10 @@ |
#ifndef TOOLS_GN_TEMPLATE_H_ |
#define TOOLS_GN_TEMPLATE_H_ |
+#include <memory> |
#include <vector> |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
class BlockNode; |
class Err; |
@@ -30,7 +30,7 @@ class Template : public base::RefCountedThreadSafe<Template> { |
Template(const Scope* scope, const FunctionCallNode* def); |
// Takes ownership of a previously-constructed closure. |
- Template(scoped_ptr<Scope> closure, const FunctionCallNode* def); |
+ Template(std::unique_ptr<Scope> closure, const FunctionCallNode* def); |
// Invoke the template. The values correspond to the state of the code |
// invoking the template. |
@@ -49,7 +49,7 @@ class Template : public base::RefCountedThreadSafe<Template> { |
Template(); |
~Template(); |
- scoped_ptr<Scope> closure_; |
+ std::unique_ptr<Scope> closure_; |
const FunctionCallNode* definition_; |
}; |