mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Eliminate anonymous struct (and useless bitfields) to fix irix compilation problem
This commit is contained in:
parent
a56175b972
commit
f926f04a0b
@ -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…
Reference in New Issue
Block a user