diff options
Diffstat (limited to 'WebCore/svg/SVGLangSpace.cpp')
-rw-r--r-- | WebCore/svg/SVGLangSpace.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/svg/SVGLangSpace.cpp b/WebCore/svg/SVGLangSpace.cpp index 638f0c1..099934d 100644 --- a/WebCore/svg/SVGLangSpace.cpp +++ b/WebCore/svg/SVGLangSpace.cpp @@ -27,6 +27,7 @@ #include "SVGElement.h" #include "XMLNames.h" +#include <wtf/StdLibExtras.h> namespace WebCore { @@ -51,7 +52,7 @@ void SVGLangSpace::setXmllang(const AtomicString& xmlLang) const AtomicString& SVGLangSpace::xmlspace() const { if (!m_space) { - static const AtomicString defaultString("default"); + DEFINE_STATIC_LOCAL(const AtomicString, defaultString, ("default")); return defaultString; } |