mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1851992 - implement empty nsIThreadRetargetableStreamListener::OnDataFinished for stream loader. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D191097
This commit is contained in:
parent
9a6ec90e93
commit
7dca7f348a
@ -161,6 +161,9 @@ StreamLoader::OnDataAvailable(nsIRequest*, nsIInputStream* aInputStream,
|
||||
return aInputStream->ReadSegments(WriteSegmentFun, this, aCount, &dummy);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
StreamLoader::OnDataFinished(nsresult aStatus) { return NS_OK; }
|
||||
|
||||
void StreamLoader::HandleBOM() {
|
||||
MOZ_ASSERT(mEncodingFromBOM.isNothing());
|
||||
MOZ_ASSERT(mBytes.IsEmpty());
|
||||
|
Loading…
Reference in New Issue
Block a user