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/core/dom/custom/CustomElement.cpp

Issue 2002063003: Change "bool createdByParser" of createElement() to enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cestate
Patch Set: Build fix 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/core/dom/custom/CustomElement.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
index ab5eab4d3571b991ce58bbae0ab341dcff19bcf7..cf44c2fc8691c6358b3725e999719aaaf57c9bc6 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
@@ -63,13 +63,14 @@ bool CustomElement::shouldCreateCustomElement(Document& document, const Qualifie
&& tagName.namespaceURI() == HTMLNames::xhtmlNamespaceURI;
}
-HTMLElement* CustomElement::createCustomElement(Document& document, const AtomicString& localName)
+HTMLElement* CustomElement::createCustomElement(Document& document, const AtomicString& localName, CreateElementFlags flags)
{
return createCustomElement(document,
- QualifiedName(nullAtom, document.convertLocalName(localName), HTMLNames::xhtmlNamespaceURI));
+ QualifiedName(nullAtom, document.convertLocalName(localName), HTMLNames::xhtmlNamespaceURI),
+ flags);
}
-HTMLElement* CustomElement::createCustomElement(Document& document, const QualifiedName& tagName)
+HTMLElement* CustomElement::createCustomElement(Document& document, const QualifiedName& tagName, CreateElementFlags flags)
{
DCHECK(shouldCreateCustomElement(document, tagName));

Powered by Google App Engine
This is Rietveld 408576698