summaryrefslogtreecommitdiffstats
path: root/layout/svg/nsSVGSwitchFrame.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-10 15:02:59 +0200
committerGitHub <noreply@github.com>2020-05-10 15:02:59 +0200
commit221627575b56e8bb85e8329400da99138f2f67c1 (patch)
tree28b0142ae0eedc45e992bb7bacafdc3dba7a15af /layout/svg/nsSVGSwitchFrame.cpp
parent1659e69dfb075975f366b1e2dbfa145febb2094f (diff)
parentf9047ff63de90e8c0242a5e7170a8c70f93f99b1 (diff)
downloadUXP-221627575b56e8bb85e8329400da99138f2f67c1.tar
UXP-221627575b56e8bb85e8329400da99138f2f67c1.tar.gz
UXP-221627575b56e8bb85e8329400da99138f2f67c1.tar.lz
UXP-221627575b56e8bb85e8329400da99138f2f67c1.tar.xz
UXP-221627575b56e8bb85e8329400da99138f2f67c1.zip
Merge pull request #1537 from win7-7/column-backgrounds-pr-2
Better way to create display items for column backgrounds
Diffstat (limited to 'layout/svg/nsSVGSwitchFrame.cpp')
-rw-r--r--layout/svg/nsSVGSwitchFrame.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/layout/svg/nsSVGSwitchFrame.cpp b/layout/svg/nsSVGSwitchFrame.cpp
index e68043228..3b71ff3fb 100644
--- a/layout/svg/nsSVGSwitchFrame.cpp
+++ b/layout/svg/nsSVGSwitchFrame.cpp
@@ -45,7 +45,6 @@ public:
#endif
virtual void BuildDisplayList(nsDisplayListBuilder* aBuilder,
- const nsRect& aDirtyRect,
const nsDisplayListSet& aLists) override;
// nsISVGChildFrame interface:
@@ -94,12 +93,11 @@ nsSVGSwitchFrame::GetType() const
void
nsSVGSwitchFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
- const nsRect& aDirtyRect,
const nsDisplayListSet& aLists)
{
nsIFrame* kid = GetActiveChildFrame();
if (kid) {
- BuildDisplayListForChild(aBuilder, kid, aDirtyRect, aLists);
+ BuildDisplayListForChild(aBuilder, kid, aLists);
}
}