mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 00:37:32 +09:00
Issue #2073 - m-c 1383404: make SourceBuffer::Compact more efficient (squashed)
The first part also means that Compact no longer needs the SurfaceCache lock (used to be via CreateChunk->CanHold), which avoids potential deadlocks during shutdown that m-c 523950 would otherwise cause
This commit is contained in:
parent
e96122ede2
commit
03a4a17ccf
6 changed files with 80 additions and 54 deletions
|
|
@ -92,6 +92,7 @@ PageIconProtocolHandler.prototype = {
|
|||
|
||||
try {
|
||||
channel.contentType = mime;
|
||||
channel.contentLength = len;
|
||||
// Pass the icon data to the output stream.
|
||||
let stream = Cc["@mozilla.org/binaryoutputstream;1"]
|
||||
.createInstance(Ci.nsIBinaryOutputStream);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue