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

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

Issue 2258023003: Remove first argument for shoudCreateCustomElement() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698