| Index: third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h
|
| index b3e41662c75cfc24399d164b98f21cd5c5c4278f..8ef3524bbeb9ad2b491e1163cfa5f6cfc2c359a6 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h
|
| +++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h
|
| @@ -40,6 +40,8 @@
|
|
|
| namespace blink {
|
|
|
| +class ScriptState;
|
| +
|
| class V0CustomElementRegistrationContext final : public GarbageCollectedFinalized<V0CustomElementRegistrationContext> {
|
| public:
|
| static V0CustomElementRegistrationContext* create()
|
| @@ -51,7 +53,7 @@ public:
|
| void documentWasDetached() { m_registry.documentWasDetached(); }
|
|
|
| // Definitions
|
| - void registerElement(Document*, V0CustomElementConstructorBuilder*, const AtomicString& type, V0CustomElement::NameSet validNames, ExceptionState&);
|
| + void registerElement(ScriptState*, Document*, V0CustomElementConstructorBuilder*, const AtomicString& type, V0CustomElement::NameSet validNames, ExceptionState&);
|
|
|
| Element* createCustomTagElement(Document&, const QualifiedName&);
|
| static void setIsAttributeAndTypeExtension(Element*, const AtomicString& type);
|
| @@ -59,6 +61,8 @@ public:
|
|
|
| void resolve(Element*, const V0CustomElementDescriptor&);
|
|
|
| + const V0CustomElementRegistry& registry() const { return m_registry; }
|
| +
|
| DECLARE_TRACE();
|
|
|
| protected:
|
|
|