Index: Source/build/scripts/templates/MakeNames.cpp.tmpl |
diff --git a/Source/build/scripts/templates/MakeNames.cpp.tmpl b/Source/build/scripts/templates/MakeNames.cpp.tmpl |
index e91f751a6fab449a60198aecad0aa142f8a55c59..f6a939c3fd5f0f042541c096f7128feef527e15b 100644 |
--- a/Source/build/scripts/templates/MakeNames.cpp.tmpl |
+++ b/Source/build/scripts/templates/MakeNames.cpp.tmpl |
@@ -7,7 +7,7 @@ |
#define {{namespace|to_macro_style}}_NAMES_HIDE_GLOBALS 1 |
#endif |
-#include "{{namespace}}Names.h" |
+#include "{{namespace}}{{suffix}}Names.h" |
#include "wtf/StaticConstructors.h" |
@@ -25,7 +25,7 @@ DEFINE_GLOBAL(AtomicString, {{entry|symbol}}) |
{% endif %} |
{% endfor %} |
-void init() |
+void init{{suffix}}() |
{ |
{% for entry in entries|sort %} |
StringImpl* {{entry|symbol}}Impl = StringImpl::createStatic("{{entry|cpp_name}}", {{entry|cpp_name|length}}, {{entry|cpp_name|hash}}); |
@@ -36,5 +36,5 @@ void init() |
{% endfor %} |
} |
-} // {{namespace}} |
+} // {{namespace}}Names |
} // WebCore |