Index: third_party/WebKit/Source/core/events/EventTarget.cpp |
diff --git a/third_party/WebKit/Source/core/events/EventTarget.cpp b/third_party/WebKit/Source/core/events/EventTarget.cpp |
index bf2f203ef1afdaae9122f24b56e7b07619295efb..617b11a54f6f842ee0574e7658ae4e155b8ee6df 100644 |
--- a/third_party/WebKit/Source/core/events/EventTarget.cpp |
+++ b/third_party/WebKit/Source/core/events/EventTarget.cpp |
@@ -173,6 +173,10 @@ MessagePort* EventTarget::toMessagePort() { |
return nullptr; |
} |
+ServiceWorker* EventTarget::toServiceWorker() { |
+ return nullptr; |
+} |
+ |
inline LocalDOMWindow* EventTarget::executingWindow() { |
if (ExecutionContext* context = getExecutionContext()) |
return context->executingWindow(); |