| Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| index 4b8b024ffb162f2b6a8deaac88201981d1874aa5..02c9ccb9c61ec7c6f54c06c40649542ae71ca7ff 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();
|
|
|