зеркало из https://github.com/mozilla/gecko-dev.git
15516055f2
There are two instances: - MappableSeekableZStream::Create uses ScopedDeletePtr, which is actually a little odd, since MappableSeekableZStream, as a Mappable, is refcounted, and it's unusual to use two different kinds of smart pointers for a single class. I think the more natural thing would be for MappableSeekableZStream::Create to return an already_AddRefed, but that change spirals out of the realm of "simple refactoring" quickly. - SzipCompress::run uses ScopedDeletePtr along with some dubious use of raw pointers. I changed things out for UniquePtr and also tidied the memory management a bit, which I think makes things a little clearer. |
||
---|---|---|
.. | ||
tests | ||
BaseElf.cpp | ||
BaseElf.h | ||
CustomElf.cpp | ||
CustomElf.h | ||
ElfLoader.cpp | ||
ElfLoader.h | ||
Elfxx.h | ||
Logging.h | ||
Mappable.cpp | ||
Mappable.h | ||
SeekableZStream.cpp | ||
SeekableZStream.h | ||
Utils.h | ||
Zip.cpp | ||
Zip.h | ||
dladdr.h | ||
moz.build | ||
szip.cpp |