diff options
Diffstat (limited to 'WebCore/xml/XPathExpressionNode.cpp')
-rw-r--r-- | WebCore/xml/XPathExpressionNode.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/xml/XPathExpressionNode.cpp b/WebCore/xml/XPathExpressionNode.cpp index 88e349e..647c6af 100644 --- a/WebCore/xml/XPathExpressionNode.cpp +++ b/WebCore/xml/XPathExpressionNode.cpp @@ -31,13 +31,14 @@ #include "Node.h" #include "XPathValue.h" +#include <wtf/StdLibExtras.h> namespace WebCore { namespace XPath { EvaluationContext& Expression::evaluationContext() { - static EvaluationContext evaluationContext; + DEFINE_STATIC_LOCAL(EvaluationContext, evaluationContext, ()); return evaluationContext; } |