summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGFontElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGFontElement.cpp')
-rw-r--r--Source/WebCore/svg/SVGFontElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/svg/SVGFontElement.cpp b/Source/WebCore/svg/SVGFontElement.cpp
index 94e5b81fb..c8ea3c830 100644
--- a/Source/WebCore/svg/SVGFontElement.cpp
+++ b/Source/WebCore/svg/SVGFontElement.cpp
@@ -134,7 +134,7 @@ void SVGFontElement::ensureGlyphCache()
// Register ligatures, if needed, don't mix up with surrogate pairs though!
if (unicode.length() > 1 && !U16_IS_SURROGATE(unicode[0]))
- ligatures.append(unicode);
+ ligatures.append(unicode.string());
} else if (child->hasTagName(SVGNames::hkernTag)) {
SVGHKernElement* hkern = static_cast<SVGHKernElement*>(child);
hkern->buildHorizontalKerningPair(m_horizontalKerningPairs);