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 b168fb3c8fdd831a2ede69403122a145537d990e..909d9600928f25e21ddf21335078b5dd80c425e2 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Body.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Body.cpp |
@@ -11,7 +11,6 @@ |
#include "core/dom/DOMArrayBuffer.h" |
#include "core/dom/DOMTypedArray.h" |
#include "core/fileapi/Blob.h" |
-#include "core/frame/UseCounter.h" |
#include "modules/fetch/BodyStreamBuffer.h" |
#include "modules/fetch/FetchDataLoader.h" |
#include "public/platform/WebDataConsumerHandle.h" |
@@ -199,8 +198,7 @@ ScriptPromise Body::text(ScriptState* scriptState) { |
return promise; |
} |
-ScriptValue Body::bodyWithUseCounter(ScriptState* scriptState) { |
- UseCounter::count(getExecutionContext(), UseCounter::FetchBodyStream); |
+ScriptValue Body::body(ScriptState* scriptState) { |
if (!bodyBuffer()) |
return ScriptValue::createNull(scriptState); |
ScriptValue stream = bodyBuffer()->stream(); |