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

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

Issue 2002063003: Change "bool createdByParser" of createElement() to enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cestate
Patch Set: Add ImportNode Created 4 years, 7 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/ElementFactory.h.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/ElementFactory.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/ElementFactory.h.tmpl
index 0d26c3324bffcbeb4db00c6ba85b6e79a1e47a88..6b47f18e121fff6c42ed956dd315c17a8973535b 100644
--- a/third_party/WebKit/Source/build/scripts/templates/ElementFactory.h.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/ElementFactory.h.tmpl
@@ -4,6 +4,7 @@
#ifndef {{namespace}}ElementFactory_h
#define {{namespace}}ElementFactory_h
+#include "core/dom/Document.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
@@ -24,7 +25,7 @@ public:
{% if namespace == 'HTML' %}
HTMLFormElement* = 0,
{% endif %}
- bool createdByParser = true);
+ CreateElementFlags flags = CreatedByParser);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698