| Index: third_party/WebKit/Source/core/dom/custom/CustomElementReaction.h
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementReaction.h b/third_party/WebKit/Source/core/dom/custom/CustomElementReaction.h
|
| index 3ee1ab254ab26a4bd846871539b9b1036ff03731..9a7a2a801eea67620e23c29280ca5746ff9fd642 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementReaction.h
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementReaction.h
|
| @@ -11,16 +11,22 @@
|
|
|
| namespace blink {
|
|
|
| +class CustomElementDefinition;
|
| class Element;
|
|
|
| class CORE_EXPORT CustomElementReaction
|
| : public GarbageCollectedFinalized<CustomElementReaction> {
|
| WTF_MAKE_NONCOPYABLE(CustomElementReaction);
|
| public:
|
| - CustomElementReaction() { }
|
| - virtual ~CustomElementReaction() { }
|
| - DEFINE_INLINE_VIRTUAL_TRACE() { }
|
| + CustomElementReaction(CustomElementDefinition*);
|
| + virtual ~CustomElementReaction() = default;
|
| +
|
| virtual void invoke(Element*) = 0;
|
| +
|
| + DECLARE_VIRTUAL_TRACE();
|
| +
|
| +protected:
|
| + Member<CustomElementDefinition> m_definition;
|
| };
|
|
|
| } // namespace blink
|
|
|