Index: svg/SVGHKernElement.cpp |
=================================================================== |
--- svg/SVGHKernElement.cpp (revision 52205) |
+++ svg/SVGHKernElement.cpp (working copy) |
@@ -48,7 +48,7 @@ |
void SVGHKernElement::insertedIntoDocument() |
{ |
Node* fontNode = parentNode(); |
- if (fontNode && fontNode->hasTagName(fontTag)) { |
+ if (fontNode && fontNode->hasTagName(SVGNames::fontTag)) { |
if (SVGFontElement* element = static_cast<SVGFontElement*>(fontNode)) |
element->invalidateGlyphCache(); |
} |
@@ -57,7 +57,7 @@ |
void SVGHKernElement::removedFromDocument() |
{ |
Node* fontNode = parentNode(); |
- if (fontNode && fontNode->hasTagName(fontTag)) { |
+ if (fontNode && fontNode->hasTagName(SVGNames::fontTag)) { |
if (SVGFontElement* element = static_cast<SVGFontElement*>(fontNode)) |
element->invalidateGlyphCache(); |
} |