Index: third_party/WebKit/Source/core/dom/custom/CustomElement.h |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElement.h b/third_party/WebKit/Source/core/dom/custom/CustomElement.h |
index b4637109016095e548aa896aefdf71e9aaad1d7d..06af1dc6902ea60749ed2e4490d9fdb8fd224ee0 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElement.h |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.h |
@@ -54,13 +54,15 @@ public: |
static bool shouldCreateCustomElement(Document&, const AtomicString& localName); |
static bool shouldCreateCustomElement(Document&, const QualifiedName&); |
- static HTMLElement* createCustomElement(Document&, const AtomicString& localName, CreateElementFlags); |
- static HTMLElement* createCustomElement(Document&, const QualifiedName&, CreateElementFlags); |
+ static HTMLElement* createCustomElementSync(Document&, const AtomicString& localName, ExceptionState&); |
+ static HTMLElement* createCustomElementSync(Document&, const QualifiedName&, ExceptionState&); |
+ static HTMLElement* createCustomElementSync(Document&, const QualifiedName&); |
+ static HTMLElement* createCustomElementAsync(Document&, const QualifiedName&); |
static void enqueueUpgradeReaction(Element*, CustomElementDefinition*); |
private: |
- static HTMLElement* createCustomElementAsync(Document&, CustomElementDefinition&, const QualifiedName&); |
+ static HTMLElement* createUndefinedElement(Document&, const QualifiedName&); |
}; |
} // namespace blink |