Index: Source/core/svg/SVGFilterElement.h |
diff --git a/Source/core/svg/SVGFilterElement.h b/Source/core/svg/SVGFilterElement.h |
index f3429fcf61a055e7049d3a9a1bb666c0f49183c8..e384ea9080e1889fb693af4efa7a95249adb042c 100644 |
--- a/Source/core/svg/SVGFilterElement.h |
+++ b/Source/core/svg/SVGFilterElement.h |
@@ -75,10 +75,10 @@ private: |
END_DECLARE_ANIMATED_PROPERTIES |
}; |
-inline SVGFilterElement* toSVGFilterElement(SVGElement* element) |
+inline SVGFilterElement* toSVGFilterElement(Node* node) |
{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::filterTag)); |
- return static_cast<SVGFilterElement*>(element); |
+ ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::filterTag)); |
+ return static_cast<SVGFilterElement*>(node); |
} |
} |