Index: third_party/WebKit/Source/core/html/HTMLLinkElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.h b/third_party/WebKit/Source/core/html/HTMLLinkElement.h |
index 8a0a2e3edc2e004165193e5a7f8329995037fa13..48606b3f43717fa18b4a31d4dc9535075f103e28 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.h |
@@ -28,6 +28,7 @@ |
#include "core/css/CSSStyleSheet.h" |
#include "core/dom/DOMTokenList.h" |
#include "core/dom/IconURL.h" |
+#include "core/dom/IncrementLoadEventDelayCount.h" |
#include "core/dom/StyleEngineContext.h" |
#include "core/fetch/ResourceOwner.h" |
#include "core/fetch/StyleSheetResource.h" |
@@ -38,6 +39,7 @@ |
#include "core/html/RelList.h" |
#include "core/loader/LinkLoader.h" |
#include "core/loader/LinkLoaderClient.h" |
+#include <memory> |
namespace blink { |
@@ -45,9 +47,6 @@ class HTMLLinkElement; |
class KURL; |
class LinkImport; |
-template<typename T> class EventSender; |
-using LinkEventSender = EventSender<HTMLLinkElement>; |
- |
// |
// LinkStyle handles dynamically change-able link resources, which is |
// typically @rel="stylesheet". |
@@ -166,10 +165,8 @@ public: |
DOMTokenList* sizes() const; |
- void dispatchPendingEvent(LinkEventSender*); |
+ void dispatchPendingEvent(std::unique_ptr<IncrementLoadEventDelayCount>); |
void scheduleEvent(); |
- void dispatchEventImmediately(); |
- static void dispatchPendingLoadEvents(); |
// From LinkLoaderClient |
bool shouldLoadLink() override; |