From 8e66cf9d08f44df4bbe4f83ce1c3c4c9bebde225 Mon Sep 17 00:00:00 2001 From: "tor%cs.brown.edu" Date: Sat, 27 May 2006 16:40:58 +0000 Subject: [PATCH] Bug 339358 - shrink nsStyleSVG by using bitfields. r+sr=roc git-svn-id: svn://10.0.0.236/trunk@198512 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/style/nsStyleStruct.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mozilla/layout/style/nsStyleStruct.h b/mozilla/layout/style/nsStyleStruct.h index 9bd191c891e..f49709357d6 100644 --- a/mozilla/layout/style/nsStyleStruct.h +++ b/mozilla/layout/style/nsStyleStruct.h @@ -1313,14 +1313,14 @@ struct nsStyleSVG : public nsStyleStruct { float mStrokeOpacity; // [inherited] PRUint32 mStrokeDasharrayLength; - PRUint8 mClipRule; // [inherited] - PRUint8 mFillRule; // [inherited] see nsStyleConsts.h - PRUint8 mPointerEvents; // [inherited] see nsStyleConsts.h - PRUint8 mShapeRendering; // [inherited] see nsStyleConsts.h - PRUint8 mStrokeLinecap; // [inherited] see nsStyleConsts.h - PRUint8 mStrokeLinejoin; // [inherited] see nsStyleConsts.h - PRUint8 mTextAnchor; // [inherited] see nsStyleConsts.h - PRUint8 mTextRendering; // [inherited] see nsStyleConsts.h + PRUint8 mClipRule:1; // [inherited] + PRUint8 mFillRule:1; // [inherited] see nsStyleConsts.h + PRUint8 mPointerEvents:4; // [inherited] see nsStyleConsts.h + PRUint8 mShapeRendering:2; // [inherited] see nsStyleConsts.h + PRUint8 mStrokeLinecap:2; // [inherited] see nsStyleConsts.h + PRUint8 mStrokeLinejoin:2; // [inherited] see nsStyleConsts.h + PRUint8 mTextAnchor:2; // [inherited] see nsStyleConsts.h + PRUint8 mTextRendering:2; // [inherited] see nsStyleConsts.h }; struct nsStyleSVGReset : public nsStyleStruct {