Is it possible to add an  extra variable to mozilla string(nsTStringRepr).

I added a bool variable to nsTStringRepr class in  Xpcom/Strings/

While building the build  I got static Assertions like  below
############################################################
 
/Users/pavan-6853/Desktop/MOZB/mozilla-central/xpcom/base/nsCycleCollector.cpp:1954:3:
 error: static_assert failed "Don't create too large CCGraphBuilder objects"
 0:34.99   static_assert(sizeof(CCGraphBuilder) <= 4096,

################################################################


In normal execution (without adding any variable to core string )size of 
CCGraphBuilder is 4096

Since it is static_assert I commented that line and  proceeded  in building.

Building was successful.

While running  firefox it just popsup and crashes.

I used debbugger to know where it is getting crashed
It is at 

/mozilla-central/servo/components/style/gecko/data.rs
75: debug_assert!(!self.inner().mContents.mRawPtr.is_null());

I  guess it is  getting crashed because of memory issue. I don't exactly. Does 
anyone  know what is the exact problem and help me in modification of mozilla 
string. 
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to