diff options
Diffstat (limited to 'WebCore/loader/CachedFont.cpp')
-rw-r--r-- | WebCore/loader/CachedFont.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/WebCore/loader/CachedFont.cpp b/WebCore/loader/CachedFont.cpp index 3d9eeb9..d295618 100644 --- a/WebCore/loader/CachedFont.cpp +++ b/WebCore/loader/CachedFont.cpp @@ -34,15 +34,16 @@ #include "Cache.h" #include "CachedResourceClient.h" #include "CachedResourceClientWalker.h" -#include "DOMImplementation.h" #include "FontPlatformData.h" -#ifdef STORE_FONT_CUSTOM_PLATFORM_DATA -#include "FontCustomPlatformData.h" -#endif +#include "SharedBuffer.h" #include "TextResourceDecoder.h" #include "loader.h" #include <wtf/Vector.h> +#ifdef STORE_FONT_CUSTOM_PLATFORM_DATA +#include "FontCustomPlatformData.h" +#endif + #if ENABLE(SVG_FONTS) #include "HTMLNames.h" #include "NodeList.h" @@ -156,7 +157,7 @@ bool CachedFont::ensureSVGFontData() SVGFontElement* CachedFont::getSVGFontById(const String& fontName) const { ASSERT(m_isSVGFont); - RefPtr<NodeList> list = m_externalSVGDocument->getElementsByTagName(SVGNames::fontTag.localName()); + RefPtr<NodeList> list = m_externalSVGDocument->getElementsByTagNameNS(SVGNames::fontTag.namespaceURI(), SVGNames::fontTag.localName()); if (!list) return 0; |