| Index: third_party/WebKit/Source/core/html/HTMLStyleElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLStyleElement.h b/third_party/WebKit/Source/core/html/HTMLStyleElement.h
|
| index 12f117f3f2c307164a34f901979232acfca252b3..f9e74d71a2ac7c7a92cbe1d01da19115784911bf 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLStyleElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLStyleElement.h
|
| @@ -23,12 +23,16 @@
|
| #ifndef HTMLStyleElement_h
|
| #define HTMLStyleElement_h
|
|
|
| -#include "core/dom/IncrementLoadEventDelayCount.h"
|
| #include "core/dom/StyleElement.h"
|
| #include "core/html/HTMLElement.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
| +
|
| +class HTMLStyleElement;
|
| +
|
| +template <typename T>
|
| +class EventSender;
|
| +using StyleEventSender = EventSender<HTMLStyleElement>;
|
|
|
| class CORE_EXPORT HTMLStyleElement final : public HTMLElement,
|
| private StyleElement {
|
| @@ -44,7 +48,8 @@
|
| bool disabled() const;
|
| void setDisabled(bool);
|
|
|
| - void dispatchPendingEvent(std::unique_ptr<IncrementLoadEventDelayCount>);
|
| + void dispatchPendingEvent(StyleEventSender*);
|
| + static void dispatchPendingLoadEvents();
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
|
|