icecat: add release icecat-140.8.0-2gnu1 for ecne
This commit is contained in:
parent
450538011a
commit
8eb1f1732f
616 changed files with 39955 additions and 33937 deletions
|
|
@ -206,7 +206,11 @@ nsresult SourceBuffer::Compact() {
|
|||
if (capacity == MAX_CHUNK_CAPACITY) {
|
||||
size_t lastLength = mChunks.LastElement().Length();
|
||||
if (lastLength != capacity) {
|
||||
mChunks.LastElement().SetCapacity(lastLength);
|
||||
if (lastLength == 0) {
|
||||
mChunks.RemoveLastElement();
|
||||
} else {
|
||||
mChunks.LastElement().SetCapacity(lastLength);
|
||||
}
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue