Index: Source/modules/serviceworkers/Response.h |
diff --git a/Source/modules/serviceworkers/Response.h b/Source/modules/serviceworkers/Response.h |
index 5540f68a3363ce4ccfd94ad078238a3ab59b94cf..853d33175c73d37a67abec19346f81ef41638fbb 100644 |
--- a/Source/modules/serviceworkers/Response.h |
+++ b/Source/modules/serviceworkers/Response.h |
@@ -30,8 +30,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; |
@@ -48,6 +48,7 @@ public: |
private: |
Response(); |
explicit Response(PassRefPtrWillBeRawPtr<FetchResponseData>); |
+ explicit Response(const WebServiceWorkerResponse&); |
RefPtrWillBeMember<FetchResponseData> m_response; |
RefPtrWillBeMember<Headers> m_headers; |