diff options
Diffstat (limited to 'Source/WebCore/svg/SVGLangSpace.h')
-rw-r--r-- | Source/WebCore/svg/SVGLangSpace.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/Source/WebCore/svg/SVGLangSpace.h b/Source/WebCore/svg/SVGLangSpace.h index d8badb496..22c4118a8 100644 --- a/Source/WebCore/svg/SVGLangSpace.h +++ b/Source/WebCore/svg/SVGLangSpace.h @@ -18,17 +18,13 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGLangSpace_h -#define SVGLangSpace_h +#pragma once -#if ENABLE(SVG) #include "QualifiedName.h" #include <wtf/HashSet.h> namespace WebCore { -class Attribute; - class SVGLangSpace { public: const AtomicString& xmllang() const { return m_lang; } @@ -37,9 +33,10 @@ public: const AtomicString& xmlspace() const; void setXmlspace(const AtomicString& xmlSpace); - bool parseAttribute(const QualifiedName&, const AtomicString&); - bool isKnownAttribute(const QualifiedName&); - void addSupportedAttributes(HashSet<QualifiedName>&); + void parseAttribute(const QualifiedName&, const AtomicString&); + + static bool isKnownAttribute(const QualifiedName&); + static void addSupportedAttributes(HashSet<QualifiedName>&); private: AtomicString m_lang; @@ -47,6 +44,3 @@ private: }; } // namespace WebCore - -#endif // ENABLE(SVG) -#endif // SVGLangSpace_h |