| Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| index 2bf59319e2617e22b90396e27aadf6fcc9506a60..8dc28a3cb8b5eff7da029834207451a2c5a9ded8 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| @@ -102,7 +102,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;
|
| - RefPtr<Request> r = Request::create(this, request, exceptionState);
|
| + RefPtrWillBeRawPtr<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()));
|
| @@ -118,7 +118,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;
|
| - RefPtr<Request> r = Request::create(this, request, requestInit, exceptionState);
|
| + RefPtrWillBeRawPtr<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()));
|
| @@ -134,7 +134,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;
|
| - RefPtr<Request> r = Request::create(this, urlstring, exceptionState);
|
| + RefPtrWillBeRawPtr<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()));
|
| @@ -150,7 +150,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;
|
| - RefPtr<Request> r = Request::create(this, urlstring, requestInit, exceptionState);
|
| + RefPtrWillBeRawPtr<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()));
|
|
|