Index: third_party/WebKit/Source/modules/fetch/Request.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/Request.cpp b/third_party/WebKit/Source/modules/fetch/Request.cpp |
index 1956431a1eb1dee6d596b6a9ae84a79449ce6f40..1845be3132c11062f3bd01922818338adea59723 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Request.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Request.cpp |
@@ -607,6 +607,12 @@ bool Request::hasBody() const |
return bodyBuffer(); |
} |
+void Request::stop() |
+{ |
+ if (bodyBuffer()) |
+ bodyBuffer()->stop(); |
+} |
+ |
void Request::populateWebServiceWorkerRequest(WebServiceWorkerRequest& webRequest) const |
{ |
webRequest.setMethod(method()); |