Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp |
index 2b32b60d0050aa959f1c799b7c4f92da5c1297a1..0d12147e3b3ef77f32887c142066bf472c35b9dd 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp |
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp |
@@ -83,7 +83,7 @@ String ServiceWorkerGlobalScope::scope(ExecutionContext* context) |
return ServiceWorkerGlobalScopeClient::from(context)->scope().string(); |
} |
-PassRefPtrWillBeRawPtr<CacheStorage> ServiceWorkerGlobalScope::caches(ExecutionContext* context) |
+CacheStorage* ServiceWorkerGlobalScope::caches(ExecutionContext* context) |
{ |
if (!m_caches) |
m_caches = CacheStorage::create(ServiceWorkerGlobalScopeClient::from(context)->cacheStorage()); |
@@ -98,7 +98,7 @@ ScriptPromise ServiceWorkerGlobalScope::fetch(ScriptState* scriptState, Request* |
// value of Request as constructor with |input| and |init| as arguments. If |
// this throws an exception, reject |p| with it." |
TrackExceptionState exceptionState; |
- RefPtrWillBeRawPtr<Request> r = Request::create(this, request, exceptionState); |
+ Request* r = Request::create(this, request, exceptionState); |
if (exceptionState.hadException()) { |
// FIXME: We should throw the caught error. |
return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError(exceptionState.message(), scriptState->isolate())); |
@@ -114,7 +114,7 @@ ScriptPromise ServiceWorkerGlobalScope::fetch(ScriptState* scriptState, Request* |
// value of Request as constructor with |input| and |init| as arguments. If |
// this throws an exception, reject |p| with it." |
TrackExceptionState exceptionState; |
- RefPtrWillBeRawPtr<Request> r = Request::create(this, request, requestInit, exceptionState); |
+ Request* r = Request::create(this, request, requestInit, exceptionState); |
if (exceptionState.hadException()) { |
// FIXME: We should throw the caught error. |
return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError(exceptionState.message(), scriptState->isolate())); |
@@ -130,7 +130,7 @@ ScriptPromise ServiceWorkerGlobalScope::fetch(ScriptState* scriptState, const St |
// value of Request as constructor with |input| and |init| as arguments. If |
// this throws an exception, reject |p| with it." |
TrackExceptionState exceptionState; |
- RefPtrWillBeRawPtr<Request> r = Request::create(this, urlstring, exceptionState); |
+ Request* r = Request::create(this, urlstring, exceptionState); |
if (exceptionState.hadException()) { |
// FIXME: We should throw the caught error. |
return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError(exceptionState.message(), scriptState->isolate())); |
@@ -146,7 +146,7 @@ ScriptPromise ServiceWorkerGlobalScope::fetch(ScriptState* scriptState, const St |
// value of Request as constructor with |input| and |init| as arguments. If |
// this throws an exception, reject |p| with it." |
TrackExceptionState exceptionState; |
- RefPtrWillBeRawPtr<Request> r = Request::create(this, urlstring, requestInit, exceptionState); |
+ Request* r = Request::create(this, urlstring, requestInit, exceptionState); |
if (exceptionState.hadException()) { |
// FIXME: We should throw the caught error. |
return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError(exceptionState.message(), scriptState->isolate())); |
@@ -154,7 +154,7 @@ ScriptPromise ServiceWorkerGlobalScope::fetch(ScriptState* scriptState, const St |
return m_fetchManager->fetch(scriptState, r->request()); |
} |
-PassRefPtrWillBeRawPtr<ServiceWorkerClients> ServiceWorkerGlobalScope::clients() |
+ServiceWorkerClients* ServiceWorkerGlobalScope::clients() |
{ |
if (!m_clients) |
m_clients = ServiceWorkerClients::create(); |