| Index: Source/modules/serviceworkers/Response.h
|
| diff --git a/Source/modules/serviceworkers/Response.h b/Source/modules/serviceworkers/Response.h
|
| index ca490c832254927313a511c38bf8933a9179fe66..5f9a1429d741424ab3d3e623caf1f06a5fc2b30a 100644
|
| --- a/Source/modules/serviceworkers/Response.h
|
| +++ b/Source/modules/serviceworkers/Response.h
|
| @@ -12,7 +12,6 @@
|
| #include "modules/serviceworkers/Headers.h"
|
| #include "platform/blob/BlobData.h"
|
| #include "platform/heap/Handle.h"
|
| -#include "wtf/RefCounted.h"
|
| #include "wtf/RefPtr.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| @@ -23,22 +22,21 @@ class ExceptionState;
|
| class ResponseInit;
|
| class WebServiceWorkerResponse;
|
|
|
| -class Response FINAL : public RefCountedWillBeGarbageCollected<Response>, public ScriptWrappable {
|
| - DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(Response);
|
| +class Response FINAL : public GarbageCollected<Response>, public ScriptWrappable {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<Response> create(Blob*, const Dictionary&, ExceptionState&);
|
| - static PassRefPtrWillBeRawPtr<Response> create(const String&, const Dictionary&, ExceptionState&);
|
| - static PassRefPtrWillBeRawPtr<Response> create(Blob*, const ResponseInit&, ExceptionState&);
|
| + static Response* create(Blob*, const Dictionary&, ExceptionState&);
|
| + static Response* create(const String&, const Dictionary&, ExceptionState&);
|
| + static Response* create(Blob*, const ResponseInit&, ExceptionState&);
|
|
|
| - static PassRefPtrWillBeRawPtr<Response> create(PassRefPtrWillBeRawPtr<FetchResponseData>);
|
| + static Response* create(FetchResponseData*);
|
|
|
| String type() const;
|
| String url() const;
|
| unsigned short status() const;
|
| String statusText() const;
|
| - PassRefPtrWillBeRawPtr<Headers> headers() const;
|
| + Headers* headers() const;
|
|
|
| - PassRefPtrWillBeRawPtr<FetchBodyStream> body(ExecutionContext*);
|
| + FetchBodyStream* body(ExecutionContext*);
|
|
|
| void populateWebServiceWorkerResponse(WebServiceWorkerResponse&);
|
|
|
| @@ -46,11 +44,11 @@ public:
|
|
|
| private:
|
| Response();
|
| - explicit Response(PassRefPtrWillBeRawPtr<FetchResponseData>);
|
| + explicit Response(FetchResponseData*);
|
|
|
| - RefPtrWillBeMember<FetchResponseData> m_response;
|
| - RefPtrWillBeMember<Headers> m_headers;
|
| - RefPtrWillBeMember<FetchBodyStream> m_fetchBodyStream;
|
| + Member<FetchResponseData> m_response;
|
| + Member<Headers> m_headers;
|
| + Member<FetchBodyStream> m_fetchBodyStream;
|
| };
|
|
|
| } // namespace blink
|
|
|