| 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 1e64fe123a83319bc00f9ea7a453c3a6c61a3caa..a97ea8284c863ac3e9bc760a6c2644cc5b0124c8 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/Body.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/Body.cpp
|
| @@ -222,15 +222,12 @@ bool Body::hasPendingActivity() const
|
| Body::Body(ExecutionContext* context)
|
| : ActiveScriptWrappable(this)
|
| , ActiveDOMObject(context)
|
| - , m_opaque(false)
|
| {
|
| suspendIfNeeded();
|
| }
|
|
|
| ScriptPromise Body::rejectInvalidConsumption(ScriptState* scriptState)
|
| {
|
| - if (m_opaque)
|
| - return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError(scriptState->isolate(), "The body is opaque."));
|
| if (isBodyLocked() || bodyUsed())
|
| return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError(scriptState->isolate(), "Already read"));
|
| return ScriptPromise();
|
|
|