| Index: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| diff --git a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| index 2fa5b5ec056a33739f7eb39ecdbebe36971dcc87..27638c1152368a22a7c88205ca7aa84f9a265d53 100644
|
| --- a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| +++ b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| @@ -38,11 +38,13 @@
|
| #include "public/web/WebServiceWorkerContextClient.h"
|
| #include "wtf/PassOwnPtr.h"
|
|
|
| +using namespace WebCore;
|
| +
|
| namespace blink {
|
|
|
| -PassOwnPtr<WebCore::ServiceWorkerGlobalScopeClient> ServiceWorkerGlobalScopeClientImpl::create(PassOwnPtr<WebServiceWorkerContextClient> client)
|
| +PassOwnPtrWillBeRawPtr<ServiceWorkerGlobalScopeClient> ServiceWorkerGlobalScopeClientImpl::create(PassOwnPtr<WebServiceWorkerContextClient> client)
|
| {
|
| - return adoptPtr(new ServiceWorkerGlobalScopeClientImpl(client));
|
| + return adoptPtrWillBeNoop(new ServiceWorkerGlobalScopeClientImpl(client));
|
| }
|
|
|
| ServiceWorkerGlobalScopeClientImpl::~ServiceWorkerGlobalScopeClientImpl()
|
| @@ -69,7 +71,7 @@ void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventI
|
| m_client->didHandleInstallEvent(installEventID, result);
|
| }
|
|
|
| -void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID, PassRefPtr<WebCore::Response> response)
|
| +void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID, PassRefPtr<Response> response)
|
| {
|
| if (!response) {
|
| m_client->didHandleFetchEvent(fetchEventID);
|
|
|