| 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 d8e96407835569f7fa29bd4e000178be6f044785..385c01603ba81bcf9de31ccb7fb1019b711956b2 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl
|
| @@ -90,7 +90,7 @@ static void create{{namespace}}FunctionMap()
|
| return function(document, {% if namespace == 'HTML' %}formElement, {% endif %}flags);
|
|
|
| {% if namespace == 'HTML' %}
|
| - if (CustomElement::shouldCreateCustomElement(document, localName)) {
|
| + if (CustomElement::shouldCreateCustomElement(localName)) {
|
| QualifiedName tagName(nullAtom, localName, HTMLNames::xhtmlNamespaceURI);
|
| if (flags & AsynchronousCustomElements)
|
| return CustomElement::createCustomElementAsync(document, tagName);
|
|
|