| Index: third_party/WebKit/Source/core/html/HTMLDetailsElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLDetailsElement.h b/third_party/WebKit/Source/core/html/HTMLDetailsElement.h
|
| index 23823fae58aa0f921c01bdcff52ba99170ebd161..228f6a7ba49d7b6b1ba5a0365a7f21d3cf87566d 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLDetailsElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLDetailsElement.h
|
| @@ -25,10 +25,6 @@
|
|
|
| namespace blink {
|
|
|
| -template <typename T>
|
| -class EventSender;
|
| -using DetailsEventSender = EventSender<HTMLDetailsElement>;
|
| -
|
| class HTMLDetailsElement final : public HTMLElement {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| @@ -37,13 +33,13 @@ class HTMLDetailsElement final : public HTMLElement {
|
| void toggleOpen();
|
| ~HTMLDetailsElement() override;
|
|
|
| - void dispatchPendingEvent(DetailsEventSender*);
|
| -
|
| Element* findMainSummary() const;
|
|
|
| private:
|
| explicit HTMLDetailsElement(Document&);
|
|
|
| + void dispatchPendingEvent();
|
| +
|
| LayoutObject* createLayoutObject(const ComputedStyle&) override;
|
| void parseAttribute(const QualifiedName&,
|
| const AtomicString&,
|
| @@ -52,6 +48,7 @@ class HTMLDetailsElement final : public HTMLElement {
|
| bool isInteractiveContent() const override;
|
|
|
| bool m_isOpen;
|
| + TaskHandle m_pendingEvent;
|
| };
|
|
|
| } // namespace blink
|
|
|