Index: third_party/WebKit/Source/core/events/EventTarget.h |
diff --git a/third_party/WebKit/Source/core/events/EventTarget.h b/third_party/WebKit/Source/core/events/EventTarget.h |
index 750880023432295da1966425c08f0e0f516c3cbe..6b77c11e6ed31818646a94f36c973757033a7652 100644 |
--- a/third_party/WebKit/Source/core/events/EventTarget.h |
+++ b/third_party/WebKit/Source/core/events/EventTarget.h |
@@ -56,6 +56,7 @@ class LocalDOMWindow; |
class ExceptionState; |
class MessagePort; |
class Node; |
+class ServiceWorker; |
struct FiringEventIterator { |
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
@@ -119,6 +120,7 @@ class CORE_EXPORT EventTarget : public GarbageCollectedFinalized<EventTarget>, |
virtual const LocalDOMWindow* toLocalDOMWindow() const; |
virtual LocalDOMWindow* toLocalDOMWindow(); |
virtual MessagePort* toMessagePort(); |
+ virtual ServiceWorker* toServiceWorker(); |
bool addEventListener(const AtomicString& eventType, |
EventListener*, |