Index: Source/web/ServiceWorkerGlobalScopeProxy.cpp |
diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
index f5e1354099537eb7a94a325218db1adac5fa94b7..f87bdefde6edc1f30d9d4e85a8ce65d90f42c023 100644 |
--- a/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
+++ b/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
@@ -85,7 +85,7 @@ void ServiceWorkerGlobalScopeProxy::dispatchFetchEvent(int eventID, const WebSer |
{ |
ASSERT(m_workerGlobalScope); |
RefPtr<RespondWithObserver> observer = RespondWithObserver::create(m_workerGlobalScope, eventID); |
- RefPtr<Request> request = Request::create(webRequest); |
+ RefPtrWillBeRawPtr<Request> request = Request::create(webRequest); |
RefPtrWillBeRawPtr<FetchEvent> fetchEvent(FetchEvent::create(observer, request)); |
fetchEvent->setIsReload(webRequest.isReload()); |
m_workerGlobalScope->dispatchEvent(fetchEvent.release()); |