Index: Source/core/loader/cache/CachedFont.cpp |
diff --git a/Source/core/loader/cache/CachedFont.cpp b/Source/core/loader/cache/CachedFont.cpp |
index 5ae164270e2a049f31d75e777669b0dc7d271b0a..d82b58160a2a919874dadfa44a54736fd29d74d4 100644 |
--- a/Source/core/loader/cache/CachedFont.cpp |
+++ b/Source/core/loader/cache/CachedFont.cpp |
@@ -102,7 +102,7 @@ FontPlatformData CachedFont::platformDataFromCustomData(float size, bool bold, b |
bool CachedFont::ensureSVGFontData() |
{ |
if (!m_externalSVGDocument && !errorOccurred() && !isLoading() && m_data) { |
- m_externalSVGDocument = SVGDocument::create(0, KURL()); |
+ m_externalSVGDocument = SVGDocument::create(); |
RefPtr<TextResourceDecoder> decoder = TextResourceDecoder::create("application/xml"); |
String svgSource = decoder->decode(m_data->data(), m_data->size()); |