Index: Source/core/svg/SVGGlyphRefElement.cpp |
diff --git a/Source/core/svg/SVGGlyphRefElement.cpp b/Source/core/svg/SVGGlyphRefElement.cpp |
index 4594e318d29cad4fd98e5d3f8cc8da5bd1da2c00..618d0c9059c19aa73fb4e9cc2705e1c98c6f885f 100644 |
--- a/Source/core/svg/SVGGlyphRefElement.cpp |
+++ b/Source/core/svg/SVGGlyphRefElement.cpp |
@@ -58,7 +58,7 @@ bool SVGGlyphRefElement::hasValidGlyphElement(String& glyphName) const |
{ |
// FIXME: We only support xlink:href so far. |
// https://bugs.webkit.org/show_bug.cgi?id=64787 |
- Element* element = targetElementFromIRIString(getAttribute(XLinkNames::hrefAttr), document(), &glyphName); |
+ Element* element = targetElementFromIRIString(getAttribute(XLinkNames::hrefAttr), &document(), &glyphName); |
if (!element || !element->hasTagName(SVGNames::glyphTag)) |
return false; |
return true; |