nsMemoryArenaStats should be a struct but is referred to as a class in a couple of places. This causes a huge number of warnings with MSVC10.
Created attachment 632689 [details] [diff] [review]
Comment on attachment 632689 [details] [diff] [review]
Stealing (and landing) this, as this makes my eyes bleed!