Closed
Bug 864772
Opened 12 years ago
Closed 12 years ago
Stop calling nsSVGUtils::InvalidateBounds in nsSVGDisplayContainerFrame::RemoveFrame, and use DLBI instead
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
(Keywords: perf)
Attachments
(1 file)
1.88 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
We should stop calling nsSVGUtils::InvalidateBounds in nsSVGDisplayContainerFrame::RemoveFrame, and use DLBI instead.
Removing the calls causes failures in:
reftests/svg/filters/dynamic-filtered-foreignObject-01.svg
reftests/svg/moz-only/zoom-invalidation-01.svg
reftests/svg/suspend-03.svg
reftests/svg/suspend-07.svg
Assignee | ||
Comment 1•12 years ago
|
||
Hopefully the comment explains sufficiently why I'm having to call SchedulePaint() here.
Attachment #740855 -
Flags: review?(matt.woodrow)
Comment 2•12 years ago
|
||
Comment on attachment 740855 [details] [diff] [review]
patch
Review of attachment 740855 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/svg/nsSVGContainerFrame.cpp
@@ +157,5 @@
> +
> + // nsSVGContainerFrame::RemoveFrame doesn't call down into
> + // nsContainerFrame::RemoveFrame, so it doesn't call FrameNeedsReflow. We
> + // need to schedule a repaint and schedule an update to our overflow rects.
> + SchedulePaint();
This isn't required, DoReflow() will call it.
Attachment #740855 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•