| 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 03466c14cb587d6c3e2610ddd72d15e79a8dbda6..f8fccec40e5783ee2274d2e2e87b69bf5f06af1e 100644
|
| --- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| +++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| @@ -211,6 +211,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, PassOwnPtr<SourceLocation> location)
|
| {
|
| client().reportException(errorMessage, location->lineNumber(), location->columnNumber(), location->url());
|
|
|