| Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| index 557dd061796b2fa236c7378b5d9f8cb63a41085b..529b5ddd857289d5be2fda39a87b5de24888f10e 100644
|
| --- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| +++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| @@ -210,6 +210,12 @@ void ServiceWorkerGlobalScopeProxy::dispatchSyncEvent(int eventID, const WebStri
|
| workerGlobalScope()->dispatchExtendableEvent(event, observer);
|
| }
|
|
|
| +bool ServiceWorkerGlobalScopeProxy::hasFetchEventHandler()
|
| +{
|
| + DCHECK(m_workerGlobalScope);
|
| + return m_workerGlobalScope->hasEventListeners(EventTypeNames::fetch);
|
| +}
|
| +
|
| void ServiceWorkerGlobalScopeProxy::reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL, int)
|
| {
|
| client().reportException(errorMessage, lineNumber, columnNumber, sourceURL);
|
|
|