Index: Source/modules/serviceworkers/Response.h |
diff --git a/Source/modules/serviceworkers/Response.h b/Source/modules/serviceworkers/Response.h |
index ca490c832254927313a511c38bf8933a9179fe66..19fc9080326743cd2129b0f09d4d2c034b251da1 100644 |
--- a/Source/modules/serviceworkers/Response.h |
+++ b/Source/modules/serviceworkers/Response.h |
@@ -29,8 +29,8 @@ 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 PassRefPtrWillBeRawPtr<Response> create(PassRefPtrWillBeRawPtr<FetchResponseData>); |
+ static PassRefPtrWillBeRawPtr<Response> create(const WebServiceWorkerResponse&); |
String type() const; |
String url() const; |
@@ -47,6 +47,7 @@ public: |
private: |
Response(); |
explicit Response(PassRefPtrWillBeRawPtr<FetchResponseData>); |
+ explicit Response(const WebServiceWorkerResponse&); |
RefPtrWillBeMember<FetchResponseData> m_response; |
RefPtrWillBeMember<Headers> m_headers; |