mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 981127: Mark nsIFrame methods HasAllStateBits() & HasAnyStateBits() as 'const'. r=heycam
This commit is contained in:
parent
d20ded087c
commit
284d261cbc
@ -1372,12 +1372,18 @@ public:
|
||||
/**
|
||||
* Checks if the current frame-state includes all of the listed bits
|
||||
*/
|
||||
bool HasAllStateBits(nsFrameState aBits) { return (mState & aBits) == aBits; }
|
||||
bool HasAllStateBits(nsFrameState aBits) const
|
||||
{
|
||||
return (mState & aBits) == aBits;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the current frame-state includes any of the listed bits
|
||||
*/
|
||||
bool HasAnyStateBits(nsFrameState aBits) { return mState & aBits; }
|
||||
bool HasAnyStateBits(nsFrameState aBits) const
|
||||
{
|
||||
return mState & aBits;
|
||||
}
|
||||
|
||||
/**
|
||||
* This call is invoked on the primary frame for a character data content
|
||||
|
Loading…
Reference in New Issue
Block a user