Index: sky/engine/core/dom/Element.h |
diff --git a/sky/engine/core/dom/Element.h b/sky/engine/core/dom/Element.h |
index 63671715ab605f5e2b8e73b214b79ef5e60ce67f..c595d43b107bd24e2088addbd5b2cbd26c875d8e 100644 |
--- a/sky/engine/core/dom/Element.h |
+++ b/sky/engine/core/dom/Element.h |
@@ -66,6 +66,9 @@ enum SpellcheckAttributeState { |
class Element : public ContainerNode { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
+ // Used for custom elements. |
+ static PassRefPtr<Element> create(Document& document, const AtomicString& tagName); |
+ |
static PassRefPtr<Element> create(const QualifiedName&, Document*); |
virtual ~Element(); |