Index: third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.h |
diff --git a/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.h b/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.h |
index ba0226be023b0e5903a29a57d1e1abcc4f719f46..403b0b1045a92a5cde93f0de8c777908928b5554 100644 |
--- a/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.h |
+++ b/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.h |
@@ -31,8 +31,10 @@ public: |
// Needed because we have to release |m_reader| promptly. |
EAGERLY_FINALIZE(); |
// |handle| cannot be null and cannot be locked. |
+ // This function must be called with entering an appropriate V8 context. |
BodyStreamBuffer(ScriptState*, std::unique_ptr<FetchDataConsumerHandle> /* handle */); |
// |ReadableStreamOperations::isReadableStream(stream)| must hold. |
+ // This function must be called with entering an appropriate V8 context. |
BodyStreamBuffer(ScriptState*, ScriptValue stream); |
ScriptValue stream(); |