Chromium Code Reviews| Index: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
| diff --git a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
| index 10b5cff59cf7575a133eb5fb2d86729c59e4e250..b4b71c2a5ab0b2276645e2557e65a1c9fae12eb9 100644 |
| --- a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
| +++ b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
| @@ -68,6 +68,12 @@ void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID, P |
| m_client->didHandleFetchEvent(fetchEventID, webResponse); |
| } |
| +void ServiceWorkerGlobalScopeClientImpl::didHandleSyncEvent(int syncEventID) |
| +{ |
| + if (m_client) |
|
michaeln
2014/03/20 23:07:28
Not related to your CL, but i don't see how/why m_
jkarlin
2014/03/21 16:50:55
Agreed. Removed the conditionals.
|
| + m_client->didHandleSyncEvent(syncEventID); |
| +} |
| + |
| ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(PassOwnPtr<WebServiceWorkerContextClient> client) |
| : m_client(client) |
| { |