| 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 37eedb725436ad022f45647e26130c98f2ba00eb..c7cefadced6213577485ed82f76601587d4265f3 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLinkElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.h
|
| @@ -88,7 +88,6 @@ class CORE_EXPORT HTMLLinkElement final : public HTMLElement,
|
|
|
| DOMTokenList* sizes() const;
|
|
|
| - void dispatchPendingEvent(std::unique_ptr<IncrementLoadEventDelayCount>);
|
| void scheduleEvent();
|
|
|
| // From LinkLoaderClient
|
| @@ -120,6 +119,10 @@ class CORE_EXPORT HTMLLinkElement final : public HTMLElement,
|
| void process();
|
| static void processCallback(Node*);
|
|
|
| + // Always call this asynchronously because this can cause synchronous
|
| + // Document load event and JavaScript execution.
|
| + void dispatchPendingEvent(std::unique_ptr<IncrementLoadEventDelayCount>);
|
| +
|
| // From Node and subclassses
|
| void parseAttribute(const AttributeModificationParams&) override;
|
| InsertionNotificationRequest insertedInto(ContainerNode*) override;
|
|
|