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