Bug 1815945 - Simplify state bit handling r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D169367
This commit is contained in:
@@ -741,7 +741,7 @@ void SVGImageFrame::ReflowSVG() {
|
||||
mRect.SetEmpty();
|
||||
}
|
||||
|
||||
if (mState & NS_FRAME_FIRST_REFLOW) {
|
||||
if (HasAnyStateBits(NS_FRAME_FIRST_REFLOW)) {
|
||||
// Make sure we have our filter property (if any) before calling
|
||||
// FinishAndStoreOverflow (subsequent filter changes are handled off
|
||||
// nsChangeHint_UpdateEffects):
|
||||
|
||||
Reference in New Issue
Block a user