Eliminate anonymous struct (and useless bitfields) to fix irix compilation problem
git-svn-id: svn://10.0.0.236/trunk@1498 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e695e3478d
commit
7f9fab77fd
@ -105,12 +105,10 @@ public:
|
||||
void ToString(nsString& aBuffer) const;
|
||||
|
||||
protected:
|
||||
struct {
|
||||
PRUint32 mLeftUnit: 8; // use bit fields to ensure packing...
|
||||
PRUint32 mTopUnit: 8;
|
||||
PRUint32 mRightUnit: 8;
|
||||
PRUint32 mBottomUnit: 8;
|
||||
};
|
||||
PRUint8 mLeftUnit;
|
||||
PRUint8 mTopUnit;
|
||||
PRUint8 mRightUnit;
|
||||
PRUint8 mBottomUnit;
|
||||
nsStyleUnion mLeftValue;
|
||||
nsStyleUnion mTopValue;
|
||||
nsStyleUnion mRightValue;
|
||||
|
||||
@ -105,12 +105,10 @@ public:
|
||||
void ToString(nsString& aBuffer) const;
|
||||
|
||||
protected:
|
||||
struct {
|
||||
PRUint32 mLeftUnit: 8; // use bit fields to ensure packing...
|
||||
PRUint32 mTopUnit: 8;
|
||||
PRUint32 mRightUnit: 8;
|
||||
PRUint32 mBottomUnit: 8;
|
||||
};
|
||||
PRUint8 mLeftUnit;
|
||||
PRUint8 mTopUnit;
|
||||
PRUint8 mRightUnit;
|
||||
PRUint8 mBottomUnit;
|
||||
nsStyleUnion mLeftValue;
|
||||
nsStyleUnion mTopValue;
|
||||
nsStyleUnion mRightValue;
|
||||
|
||||
@ -105,12 +105,10 @@ public:
|
||||
void ToString(nsString& aBuffer) const;
|
||||
|
||||
protected:
|
||||
struct {
|
||||
PRUint32 mLeftUnit: 8; // use bit fields to ensure packing...
|
||||
PRUint32 mTopUnit: 8;
|
||||
PRUint32 mRightUnit: 8;
|
||||
PRUint32 mBottomUnit: 8;
|
||||
};
|
||||
PRUint8 mLeftUnit;
|
||||
PRUint8 mTopUnit;
|
||||
PRUint8 mRightUnit;
|
||||
PRUint8 mBottomUnit;
|
||||
nsStyleUnion mLeftValue;
|
||||
nsStyleUnion mTopValue;
|
||||
nsStyleUnion mRightValue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user