Index: Source/core/xml/XPathFunctions.cpp |
diff --git a/Source/core/xml/XPathFunctions.cpp b/Source/core/xml/XPathFunctions.cpp |
index 3de9324775fc83d1931798ab1d525fb9f3f91c3a..94c1d1eb792dd2c20e06d9c49e1a611868027087 100644 |
--- a/Source/core/xml/XPathFunctions.cpp |
+++ b/Source/core/xml/XPathFunctions.cpp |
@@ -707,7 +707,8 @@ struct FunctionMapping { |
static void createFunctionMap() |
{ |
- static const FunctionMapping functions[] = { |
+ ASSERT(!functionMap); |
+ const FunctionMapping functions[] = { |
{ "boolean", { &createFunBoolean, 1 } }, |
{ "ceiling", { &createFunCeiling, 1 } }, |
{ "concat", { &createFunConcat, Interval(2, Interval::Inf) } }, |