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 e0eb8f5901a9333b94776069bf7dca7ffc482330..197f882e4160a48b101099af099f747c82b34865 100644 |
--- a/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.h |
+++ b/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.h |
@@ -25,6 +25,8 @@ class ExecutionContext; |
class MODULES_EXPORT BodyStreamBuffer final : public GarbageCollectedFinalized<BodyStreamBuffer>, public UnderlyingSource, public WebDataConsumerHandle::Client { |
WTF_MAKE_NONCOPYABLE(BodyStreamBuffer); |
USING_GARBAGE_COLLECTED_MIXIN(BodyStreamBuffer); |
+ // Needed because we have to release |m_reader| promptly. |
+ EAGERLY_FINALIZE(); |
public: |
// |handle| cannot be null and cannot be locked. |
explicit BodyStreamBuffer(PassOwnPtr<FetchDataConsumerHandle> /* handle */); |