Bug 1925477 - Remove SVGOuterSVGFrame::DidReflow. r=jwatt

I don't think this is needed, PresShell::DidDoReflow does this as well.

Differential Revision: https://phabricator.services.mozilla.com/D226117
This commit is contained in:
Emilio Cobos Álvarez
2024-10-18 12:10:04 +00:00
parent 9b80f0fb36
commit cacdf1f7ab
2 changed files with 0 additions and 12 deletions

View File

@@ -456,15 +456,6 @@ void SVGOuterSVGFrame::Reflow(nsPresContext* aPresContext,
aDesiredSize.Width(), aDesiredSize.Height()));
}
void SVGOuterSVGFrame::DidReflow(nsPresContext* aPresContext,
const ReflowInput* aReflowInput) {
SVGDisplayContainerFrame::DidReflow(aPresContext, aReflowInput);
// Make sure elements styled by :hover get updated if script/animation moves
// them under or out from under the pointer:
PresShell()->SynthesizeMouseMove(false);
}
/* virtual */
void SVGOuterSVGFrame::UnionChildOverflow(OverflowAreas& aOverflowAreas,
bool aAsIfScrolled) {

View File

@@ -62,9 +62,6 @@ class SVGOuterSVGFrame final : public SVGDisplayContainerFrame,
const ReflowInput& aReflowInput,
nsReflowStatus& aStatus) override;
void DidReflow(nsPresContext* aPresContext,
const ReflowInput* aReflowInput) override;
void UnionChildOverflow(mozilla::OverflowAreas& aOverflowAreas,
bool aAsIfScrolled) override;