| Index: Source/core/fetch/FontResource.cpp
|
| diff --git a/Source/core/fetch/FontResource.cpp b/Source/core/fetch/FontResource.cpp
|
| index cbe9aab0eb108011a4b397c84b5d32ee8e8b232d..22ff2c548695fae15ba14bf240d37d2377588750 100644
|
| --- a/Source/core/fetch/FontResource.cpp
|
| +++ b/Source/core/fetch/FontResource.cpp
|
| @@ -108,7 +108,7 @@ bool FontResource::ensureSVGFontData()
|
| if (!m_externalSVGDocument && !errorOccurred() && !isLoading() && m_data) {
|
| m_externalSVGDocument = SVGDocument::create();
|
|
|
| - RefPtr<TextResourceDecoder> decoder = TextResourceDecoder::create("application/xml");
|
| + OwnPtr<TextResourceDecoder> decoder = TextResourceDecoder::create("application/xml");
|
| String svgSource = decoder->decode(m_data->data(), m_data->size());
|
| svgSource.append(decoder->flush());
|
|
|
|
|