Index: third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl |
index c6cafb9c9c777d1fa01c233293a846271708b142..d9715a1e575fde344ff0aeb56a84700117251489 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl |
@@ -10,8 +10,8 @@ |
{% if fallback_interface %} |
#include "core/{{namespace|lower}}/{{fallback_interface}}.h" |
{% endif %} |
-#include "core/dom/custom/CustomElement.h" |
-#include "core/dom/custom/CustomElementRegistrationContext.h" |
+#include "core/dom/custom/V0CustomElement.h" |
+#include "core/dom/custom/V0CustomElementRegistrationContext.h" |
#include "core/dom/Document.h" |
#include "core/frame/Settings.h" |
#include "platform/RuntimeEnabledFeatures.h" |
@@ -86,7 +86,7 @@ static void create{{namespace}}FunctionMap() |
if (ConstructorFunction function = g_constructors->get(localName)) |
return function(document, {% if namespace == 'HTML' %}formElement, {% endif %}createdByParser); |
- if (document.registrationContext() && CustomElement::isValidName(localName)) { |
+ if (document.registrationContext() && V0CustomElement::isValidName(localName)) { |
Element* element = document.registrationContext()->createCustomTagElement(document, QualifiedName(nullAtom, localName, {{namespace_prefix}}NamespaceURI)); |
ASSERT_WITH_SECURITY_IMPLICATION(element->is{{namespace}}Element()); |
return to{{namespace}}Element(element); |