| Index: Source/modules/fetch/Body.cpp
|
| diff --git a/Source/modules/fetch/Body.cpp b/Source/modules/fetch/Body.cpp
|
| index b8c046ef4287af98400040e5378606dc5e2f8309..149f03bcb035dc49e2e5ab7b6b4913564f48632e 100644
|
| --- a/Source/modules/fetch/Body.cpp
|
| +++ b/Source/modules/fetch/Body.cpp
|
| @@ -14,6 +14,7 @@
|
| #include "core/fileapi/Blob.h"
|
| #include "core/fileapi/FileReaderLoader.h"
|
| #include "core/fileapi/FileReaderLoaderClient.h"
|
| +#include "core/frame/UseCounter.h"
|
| #include "core/streams/UnderlyingSource.h"
|
| #include "modules/fetch/BodyStreamBuffer.h"
|
|
|
| @@ -237,6 +238,7 @@ ScriptPromise Body::text(ScriptState* scriptState)
|
|
|
| ReadableStream* Body::body()
|
| {
|
| + UseCounter::count(executionContext(), UseCounter::FetchBodyStream);
|
| if (!m_streamAccessed) {
|
| m_streamAccessed = true;
|
| if (m_stream->isPulling()) {
|
|
|