mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 864770 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGEffects code, and use DLBI instead. r=mattwoodrow
This commit is contained in:
parent
4bd274d30f
commit
4ad5da01bf
@ -280,7 +280,7 @@ nsSVGMarkerProperty::DoUpdate()
|
||||
if (!(mFrame->GetStateBits() & NS_FRAME_IN_REFLOW)) {
|
||||
// XXXjwatt: We need to unify SVG into standard reflow so we can just use
|
||||
// nsChangeHint_NeedReflow | nsChangeHint_NeedDirtyReflow here.
|
||||
nsSVGUtils::InvalidateBounds(mFrame, false);
|
||||
nsSVGEffects::InvalidateRenderingObservers(mFrame);
|
||||
// XXXSDL KILL THIS!!!
|
||||
nsSVGUtils::ScheduleReflowSVG(mFrame);
|
||||
}
|
||||
@ -337,7 +337,8 @@ nsSVGPaintingProperty::DoUpdate()
|
||||
return;
|
||||
|
||||
if (mFrame->GetStateBits() & NS_FRAME_SVG_LAYOUT) {
|
||||
nsSVGUtils::InvalidateBounds(mFrame);
|
||||
nsSVGEffects::InvalidateRenderingObservers(mFrame);
|
||||
mFrame->InvalidateFrameSubtree();
|
||||
} else {
|
||||
InvalidateAllContinuations(mFrame);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user