On Monday, January 28, 2019 at 9:09:05 PM UTC+5:30, Boris Zbarsky wrote:
> 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

I added the variable to FakeString.  But still application crashes.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to