summaryrefslogtreecommitdiffstats
path: root/dom/svg/SVGGeometryElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/SVGGeometryElement.cpp')
-rw-r--r--dom/svg/SVGGeometryElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/svg/SVGGeometryElement.cpp b/dom/svg/SVGGeometryElement.cpp
index d012a911b8..de5756ed7d 100644
--- a/dom/svg/SVGGeometryElement.cpp
+++ b/dom/svg/SVGGeometryElement.cpp
@@ -187,7 +187,7 @@ bool SVGGeometryElement::IsPointInFill(const DOMPointInit& aPoint) {
bool SVGGeometryElement::IsPointInStroke(const DOMPointInit& aPoint) {
// stroke-* attributes and the d attribute are presentation attributes, so we
// flush the layout before building the path.
- if (nsCOMPtr<Document> doc = GetComposedDoc()) {
+ if (auto* doc = GetComposedDoc()) {
doc->FlushPendingNotifications(FlushType::Layout);
}