gecko-dev/mozglue/linker
Nathan Froyd 15516055f2 Bug 1251881 - use UniquePtr instead of ScopedDeletePtr in mozglue/linker/; r=glandium
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.
2016-02-26 13:50:59 -05:00
..
tests
BaseElf.cpp
BaseElf.h
CustomElf.cpp
CustomElf.h
ElfLoader.cpp
ElfLoader.h
Elfxx.h
Logging.h
Mappable.cpp Bug 1251881 - use UniquePtr instead of ScopedDeletePtr in mozglue/linker/; r=glandium 2016-02-26 13:50:59 -05:00
Mappable.h
SeekableZStream.cpp
SeekableZStream.h
Utils.h
Zip.cpp
Zip.h
dladdr.h
moz.build
szip.cpp Bug 1251881 - use UniquePtr instead of ScopedDeletePtr in mozglue/linker/; r=glandium 2016-02-26 13:50:59 -05:00