зеркало из https://github.com/mozilla/gecko-dev.git
9e0714dd26
(patch is actually r=erahm,mystor) nsTFixedString<T> is only used as a base class for nsTAutoStringN<T, N>, so this patch merges the former into the latter, cutting some code and simplifying the string class hierarchy. Because the "Fixed" name is now gone, the patch also renames StringDataFlags::FIXED as INLINE and ClassDataFlags::FIXED as INLINE. The patch also removes nsFixed[C]String and ns_auto_[c]string! from Rust code because nsAutoString can't be implemented directly in Rust due to its move semantics. There were only two uses of ns_auto_string! outside of tests so this seems like a minor loss. MozReview-Commit-ID: 8ntximghiut --HG-- extra : rebase_source : f36edbae0553adcfee356fb8b311097ff7424786 |
||
---|---|---|
.. | ||
nserror | ||
nsstring |