Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1442)

Unified Diff: third_party/WebKit/Source/build/scripts/templates/MakeQualifiedNames.h.tmpl

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698