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 f9e74d71a2ac7c7a92cbe1d01da19115784911bf..12f117f3f2c307164a34f901979232acfca252b3 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLStyleElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLStyleElement.h |
@@ -23,17 +23,13 @@ |
#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 { |
DEFINE_WRAPPERTYPEINFO(); |
@@ -48,8 +44,7 @@ class CORE_EXPORT HTMLStyleElement final : public HTMLElement, |
bool disabled() const; |
void setDisabled(bool); |
- void dispatchPendingEvent(StyleEventSender*); |
- static void dispatchPendingLoadEvents(); |
+ void dispatchPendingEvent(std::unique_ptr<IncrementLoadEventDelayCount>); |
DECLARE_VIRTUAL_TRACE(); |