summaryrefslogtreecommitdiffstats
path: root/dom/svg/SVGPathElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/SVGPathElement.cpp')
-rw-r--r--dom/svg/SVGPathElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/svg/SVGPathElement.cpp b/dom/svg/SVGPathElement.cpp
index 61d2dab070..e9f500bbfd 100644
--- a/dom/svg/SVGPathElement.cpp
+++ b/dom/svg/SVGPathElement.cpp
@@ -351,7 +351,7 @@ bool SVGPathElement::IsClosedLoop() const {
const nsStyleSVGReset* styleSVGReset = s->StyleSVGReset();
if (styleSVGReset->mD.IsPath()) {
isClosed = !styleSVGReset->mD.AsPath()._0.IsEmpty() &&
- styleSVGReset->mD.AsPath()._0.AsSpan().rbegin()->IsClosePath();
+ styleSVGReset->mD.AsPath()._0.AsSpan().rbegin()->IsClose();
}
};