Bug 1731267 - Wrap call to ReadStream::Inner::Close() with MOZ_ALWAYS_SUCCEEDS in ReadStream::Inner::CloseStream(); r=dom-storage-reviewers,jstutte

Differential Revision: https://phabricator.services.mozilla.com/D126377
This commit is contained in:
Haiyang Xu 2021-10-07 09:11:35 +00:00
parent 87db63777d
commit 3ec3db4f94

View File

@ -236,7 +236,7 @@ void ReadStream::Inner::Serialize(
void ReadStream::Inner::CloseStream() {
MOZ_ASSERT(mOwningEventTarget->IsOnCurrentThread());
Close();
MOZ_ALWAYS_SUCCEEDS(Close());
}
void ReadStream::Inner::CloseStreamWithoutReporting() {