Index: third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
index c2b10c03da91e9a412ea1ae7f859050a70106726..8d8cdd4be35f38cca3880114de36dd06b0f2603e 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
@@ -46,6 +46,9 @@ public: |
v8::Local<v8::Object> constructor() const; |
v8::Local<v8::Object> prototype() const; |
+ HTMLElement* createElementSync(Document&, const QualifiedName&) override; |
+ HTMLElement* createElementSync(Document&, const QualifiedName&, ExceptionState&) override; |
+ |
private: |
ScriptCustomElementDefinition( |
ScriptState*, |
@@ -60,6 +63,7 @@ private: |
// Implementations of |CustomElementDefinition| |
ScriptValue getConstructorForScript() final; |
bool runConstructor(Element*) override; |
+ Element* runConstructor(); |
RefPtr<ScriptState> m_scriptState; |
ScopedPersistent<v8::Object> m_constructor; |