mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:27:03 +00:00

UniquePtr is more standard than ScopedFreePtr; using standard constructs whenever possible is preferable. In this particular case, since we really just need a chunk of memory, we can allocate a char[] via MakeUnique.