| Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| index e710853bf50585f9894010421938825532d0f8c7..7e2625aee2f873192d7cd717048b8183aa251286 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| @@ -88,7 +88,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());
|
| @@ -103,7 +103,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()));
|
| @@ -119,7 +119,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()));
|
| @@ -135,7 +135,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()));
|
| @@ -151,7 +151,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()));
|
| @@ -159,7 +159,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();
|
|
|