gecko-dev/xpcom
David Major e7336ecc95 Bug 1344629 - Part 8: Make nsTLiteralString inherit from nsTStringRepr. r=dbaron
This is the patch that all the others have been leading up to: by inheriting from nsTStringRepr, nsTLiteralString loses its destructor (previously suppplied by nsTSubstring).

I included an AsString() cast as an escape hatch for a few pieces of code that couldn't easily accommodate the new hierarchy, but I'm pretty pleased with how little it was necessary.

MozReview-Commit-ID: 2zGkaw1sMUp

--HG--
extra : rebase_source : 68bbdc893850e4b6073d6fc2f036e53853b8927e
2017-03-14 15:26:36 +13:00
..
base Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron 2017-03-14 15:26:27 +13:00
build
components
doc
ds Bug 1345804 part 1 - Constify several stuff in nsIAtom. r=erahm 2017-03-10 11:38:49 +11:00
glue
idl-parser
io Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron 2017-03-14 15:26:27 +13:00
libxpt/xptcall
reflect
rust/nsstring
string Bug 1344629 - Part 8: Make nsTLiteralString inherit from nsTStringRepr. r=dbaron 2017-03-14 15:26:36 +13:00
system
tests Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron 2017-03-14 15:26:27 +13:00
threads Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron 2017-03-14 15:26:27 +13:00
typelib
windbgdlg
xpidl
moz.build
xpcom-config.h.in
xpcom-private.h.in