| 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 571d2e5603748276b4e41fc5671b64c38268508b..afd0c9b081c7bb4b23048f260d7bf31cb8e10e0b 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
|
| @@ -6,16 +6,17 @@
|
| #define ScriptCustomElementDefinition_h
|
|
|
| #include "bindings/core/v8/ScopedPersistent.h"
|
| +#include "bindings/core/v8/ScriptState.h"
|
| #include "core/CoreExport.h"
|
| #include "core/dom/custom/CustomElementDefinition.h"
|
| #include "v8.h"
|
| #include "wtf/Noncopyable.h"
|
| +#include "wtf/RefPtr.h"
|
|
|
| namespace blink {
|
|
|
| class CustomElementDescriptor;
|
| class CustomElementsRegistry;
|
| -class ScriptState;
|
|
|
| class CORE_EXPORT ScriptCustomElementDefinition final :
|
| public CustomElementDefinition {
|
| @@ -45,6 +46,8 @@ private:
|
| const v8::Local<v8::Object>& constructor,
|
| const v8::Local<v8::Object>& prototype);
|
|
|
| + bool runConstructor(Element*) override;
|
| +
|
| RefPtr<ScriptState> m_scriptState;
|
| ScopedPersistent<v8::Object> m_constructor;
|
| ScopedPersistent<v8::Object> m_prototype;
|
|
|