Index: Source/modules/serviceworkers/Response.h |
diff --git a/Source/modules/serviceworkers/Response.h b/Source/modules/serviceworkers/Response.h |
index de0a68a7c55540e21ca037da5fc158bbddf3dcd1..58c91ddc940fe0a7e1eb87a95436ae7826bae9c8 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; |