Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp |
index 461bbe18e15a0c855532f0b8ea58d30c5b4ccbdf..b8f147a2da1f93dcf9be84562c440067b56ccc8e 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp |
@@ -180,10 +180,10 @@ const AtomicString& ServiceWorkerGlobalScope::interfaceName() const |
return EventTargetNames::ServiceWorkerGlobalScope; |
} |
-bool ServiceWorkerGlobalScope::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event) |
+WebInputEventResult ServiceWorkerGlobalScope::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event) |
{ |
m_eventNestingLevel++; |
- bool result = WorkerGlobalScope::dispatchEventInternal(event.get()); |
+ WebInputEventResult result = WorkerGlobalScope::dispatchEventInternal(event.get()); |
if (event->interfaceName() == EventNames::ErrorEvent && m_eventNestingLevel == 2 && !event->defaultPrevented()) |
m_hadErrorInTopLevelEventHandler = true; |
m_eventNestingLevel--; |