Index: third_party/WebKit/Source/modules/fetch/Body.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/Body.cpp b/third_party/WebKit/Source/modules/fetch/Body.cpp |
index 834bb69dce0c11ed946e38152fae200d0a5add45..670ea27b1e45ca179c84449e2b08beb0cad2f913 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Body.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Body.cpp |
@@ -270,12 +270,12 @@ ScriptValue Body::v8ExtraStreamBody(ScriptState* scriptState) |
bool Body::bodyUsed() |
{ |
- return body() && body()->isDisturbed(); |
+ return bodyBuffer() && bodyBuffer()->isStreamDisturbed(); |
} |
bool Body::isBodyLocked() |
{ |
- return body() && body()->isLocked(); |
+ return bodyBuffer() && bodyBuffer()->isStreamLocked(); |
} |
bool Body::hasPendingActivity() const |