Index: third_party/WebKit/Source/build/scripts/templates/MakeQualifiedNames.h.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/MakeQualifiedNames.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/MakeQualifiedNames.h.tmpl |
index d9368d2e80c22afa530d87947f384c4fde7e728d..21de2b6206289acd02519debebfaf3cdf779b4df 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/MakeQualifiedNames.h.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/MakeQualifiedNames.h.tmpl |
@@ -8,7 +8,7 @@ |
#include "core/CoreExport.h" |
{% endif %} |
#include "core/dom/QualifiedName.h" |
-#include <memory> |
+#include "wtf/PassOwnPtr.h" |
namespace blink { |
@@ -32,12 +32,12 @@ namespace {{namespace}}Names { |
{% if tags %} |
const unsigned {{namespace}}TagsCount = {{tags|count}}; |
-{{symbol_export}}std::unique_ptr<const {{namespace}}QualifiedName*[]> get{{namespace}}Tags(); |
+{{symbol_export}}PassOwnPtr<const {{namespace}}QualifiedName*[]> get{{namespace}}Tags(); |
{% endif %} |
const unsigned {{namespace}}AttrsCount = {{attrs|count}}; |
{% if namespace != 'HTML' %} |
-std::unique_ptr<const QualifiedName*[]> get{{namespace}}Attrs(); |
+PassOwnPtr<const QualifiedName*[]> get{{namespace}}Attrs(); |
{% endif %} |
void init(); |