Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp

Issue 1902673003: Reflect recent spec changes to V8 Extra ReadableStream impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp b/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
index 7e6c231e12edb0459cdb8883d5eb331233aff95d..9eec54a24245ef5dd7d7b8f15eb97104eff97f15 100644
--- a/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
+++ b/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
@@ -307,7 +307,7 @@ void BodyStreamBuffer::closeAndLockAndDisturb()
ScriptState::Scope scope(m_scriptState.get());
NonThrowableExceptionState exceptionState;
ScriptValue reader = ReadableStreamOperations::getReader(m_scriptState.get(), stream(), exceptionState);
- ReadableStreamOperations::read(m_scriptState.get(), reader);
+ ReadableStreamOperations::defaultReaderRead(m_scriptState.get(), reader);
} else {
NonThrowableExceptionState exceptionState;
m_stream->getBytesReader(m_scriptState->getExecutionContext(), exceptionState);

Powered by Google App Engine
This is Rietveld 408576698