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

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: 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/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 51fc350f7529c2b20729c9e731d87b0433368e91..4baaeb9fa98f9ce2d5a3a9a18e48369e42cb2d92 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));
« no previous file with comments | « third_party/WebKit/Source/core/dom/custom/CustomElement.h ('k') | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698