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

Unified Diff: third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.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
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp b/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
index 1e8fadc4072c1d0dd6975027294425df641ec4d6..e920431c8699aa8fbbfe69c8152215d4b466dbcd 100644
--- a/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
+++ b/third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp
@@ -159,9 +159,10 @@ public:
m_isReading = false;
return WebDataConsumerHandle::UnexpectedError;
}
- ReadableStreamOperations::read(m_scriptState.get(), reader).then(
- OnFulfilled::createFunction(m_scriptState.get(), this),
- OnRejected::createFunction(m_scriptState.get(), this));
+ ReadableStreamOperations::defaultReaderRead(
+ m_scriptState.get(), reader).then(
+ OnFulfilled::createFunction(m_scriptState.get(), this),
+ OnRejected::createFunction(m_scriptState.get(), this));
}
return WebDataConsumerHandle::ShouldWait;
}
@@ -277,4 +278,3 @@ FetchDataConsumerHandle::Reader* ReadableStreamDataConsumerHandle::obtainReaderI
}
} // namespace blink
-
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698