diff options
Diffstat (limited to 'dom/fetch/Request.h')
-rw-r--r-- | dom/fetch/Request.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/fetch/Request.h b/dom/fetch/Request.h index 8c01cbd799..d5fc09fe25 100644 --- a/dom/fetch/Request.h +++ b/dom/fetch/Request.h @@ -128,6 +128,8 @@ public: void GetBody(nsIInputStream** aStream) { return mRequest->GetBody(aStream); } + using FetchBody::GetBody; + void SetBody(nsIInputStream* aStream) { return mRequest->SetBody(aStream); } @@ -162,7 +164,6 @@ public: private: ~Request(); - nsCOMPtr<nsIGlobalObject> mOwner; RefPtr<InternalRequest> mRequest; // Lazily created. |