mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Use 64 bits for frame state. (Bug 570837) r=roc
This commit is contained in:
parent
c10e106834
commit
ed06caaf51
@ -97,7 +97,7 @@ class nsDisplayList;
|
||||
class nsDisplayListBuilder;
|
||||
|
||||
typedef short SelectionType;
|
||||
typedef PRUint32 nsFrameState;
|
||||
typedef PRUint64 nsFrameState;
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
@ -142,7 +142,7 @@ typedef PRUint32 nsSplittableType;
|
||||
* Frame state bits. Any bits not listed here are reserved for future
|
||||
* extensions, but must be stored by the frames.
|
||||
*/
|
||||
typedef PRUint32 nsFrameState;
|
||||
typedef PRUint64 nsFrameState;
|
||||
|
||||
#define NS_FRAME_STATE_BIT(n_) (nsFrameState(1) << (n_))
|
||||
|
||||
@ -262,7 +262,8 @@ enum {
|
||||
// Bits 20-31 of the frame state are reserved for implementations.
|
||||
NS_FRAME_IMPL_RESERVED = nsFrameState(0xFFF00000),
|
||||
|
||||
// The lower 20 bits of the frame state are reserved by this API.
|
||||
// The lower 20 bits and upper 32 bits of the frame state are reserved
|
||||
// by this API.
|
||||
NS_FRAME_RESERVED = ~NS_FRAME_IMPL_RESERVED,
|
||||
|
||||
// Box layout bits
|
||||
|
Loading…
Reference in New Issue
Block a user