summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGGlyphElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGGlyphElement.cpp')
-rw-r--r--WebCore/svg/SVGGlyphElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/svg/SVGGlyphElement.cpp b/WebCore/svg/SVGGlyphElement.cpp
index 8ded0fc..baa9966 100644
--- a/WebCore/svg/SVGGlyphElement.cpp
+++ b/WebCore/svg/SVGGlyphElement.cpp
@@ -49,7 +49,7 @@ PassRefPtr<SVGGlyphElement> SVGGlyphElement::create(const QualifiedName& tagName
void SVGGlyphElement::invalidateGlyphCache()
{
- Node* fontNode = parentNode();
+ ContainerNode* fontNode = parentNode();
if (fontNode && fontNode->hasTagName(SVGNames::fontTag)) {
if (SVGFontElement* element = static_cast<SVGFontElement*>(fontNode))
element->invalidateGlyphCache();