On 1/28/19 10:30 AM, Nanday Dan wrote:
Sorry, I forgot to mention that I commented those lines too.

If you comment those lines, you will likely end up with code reading random values for your boolean at best and crashing at worst (if you added the boolean at the end; if not, it's just all going to be bad). You need to make sure that the layout of FakeString exactly matches the layout of nsString, probably by adding the same boolean to FakeString.

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to