Index: Source/build/scripts/templates/MakeQualifiedNames.h.tmpl |
diff --git a/Source/build/scripts/templates/MakeQualifiedNames.h.tmpl b/Source/build/scripts/templates/MakeQualifiedNames.h.tmpl |
index 7c614c787b4ed0d79627da08d0fa4204443c70dd..8f8dc3b5ba7cea7767c3e337df9ab04f3fa6ca84 100644 |
--- a/Source/build/scripts/templates/MakeQualifiedNames.h.tmpl |
+++ b/Source/build/scripts/templates/MakeQualifiedNames.h.tmpl |
@@ -5,6 +5,7 @@ |
#define {{namespace}}Names_h |
#include "core/dom/QualifiedName.h" |
+#include "wtf/PassOwnPtr.h" |
namespace WebCore { |
namespace {{namespace}}Names { |
@@ -27,10 +28,10 @@ extern const WebCore::QualifiedName {{attr|symbol}}Attr; |
{%- if tags %} |
const unsigned {{namespace}}TagsCount = {{tags|count}}; |
-const WebCore::QualifiedName* const* get{{namespace}}Tags(); |
+PassOwnPtr<const QualifiedName*[]> get{{namespace}}Tags(); |
{%- endif %} |
const unsigned {{namespace}}AttrsCount = {{attrs|count}}; |
-const WebCore::QualifiedName* const* get{{namespace}}Attrs(); |
+PassOwnPtr<const QualifiedName*[]> get{{namespace}}Attrs(); |
void init(); |