| Index: third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.h
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.h b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.h
|
| index f2b6cf6aec092c4b51a7eb637baa045d6942e1df..f2e3017b0df274d9d4b17c37c557e01f3250ad06 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.h
|
| +++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.h
|
| @@ -42,8 +42,9 @@
|
|
|
| namespace blink {
|
|
|
| -class V0CustomElementConstructorBuilder;
|
| class ExceptionState;
|
| +class ScriptState;
|
| +class V0CustomElementConstructorBuilder;
|
|
|
| class V0CustomElementRegistry final {
|
| WTF_MAKE_NONCOPYABLE(V0CustomElementRegistry);
|
| @@ -51,13 +52,14 @@ class V0CustomElementRegistry final {
|
| public:
|
| DECLARE_TRACE();
|
| void documentWasDetached() { m_documentWasDetached = true; }
|
| + bool nameIsDefined(const AtomicString&) const;
|
|
|
| protected:
|
| friend class V0CustomElementRegistrationContext;
|
|
|
| V0CustomElementRegistry() : m_documentWasDetached(false) { }
|
|
|
| - V0CustomElementDefinition* registerElement(Document*, V0CustomElementConstructorBuilder*, const AtomicString& name, V0CustomElement::NameSet validNames, ExceptionState&);
|
| + V0CustomElementDefinition* registerElement(ScriptState*, Document*, V0CustomElementConstructorBuilder*, const AtomicString& name, V0CustomElement::NameSet validNames, ExceptionState&);
|
| V0CustomElementDefinition* find(const V0CustomElementDescriptor&) const;
|
|
|
| private:
|
|
|