Index: Source/core/fetch/FontResource.cpp |
diff --git a/Source/core/fetch/FontResource.cpp b/Source/core/fetch/FontResource.cpp |
index 807888013cbedc3df2ea014a1f40e07829582e55..22df8287e6c165e3061f981429fe32d1d6a2f1f4 100644 |
--- a/Source/core/fetch/FontResource.cpp |
+++ b/Source/core/fetch/FontResource.cpp |
@@ -27,6 +27,7 @@ |
#include "config.h" |
#include "core/fetch/FontResource.h" |
+#include "core/dom/TagCollection.h" |
#include "core/fetch/ResourceClientWalker.h" |
#include "core/html/parser/TextResourceDecoder.h" |
#include "platform/SharedBuffer.h" |
@@ -168,7 +169,7 @@ bool FontResource::ensureSVGFontData() |
SVGFontElement* FontResource::getSVGFontById(const String& fontName) const |
{ |
- RefPtrWillBeRawPtr<HTMLCollection> collection = m_externalSVGDocument->getElementsByTagNameNS(SVGNames::fontTag.namespaceURI(), SVGNames::fontTag.localName()); |
+ RefPtrWillBeRawPtr<TagCollection> collection = m_externalSVGDocument->getElementsByTagNameNS(SVGNames::fontTag.namespaceURI(), SVGNames::fontTag.localName()); |
if (!collection) |
return 0; |