| Index: Source/core/scripts/templates/MakeNames.cpp.tmpl
|
| diff --git a/Source/core/scripts/templates/MakeNames.cpp.tmpl b/Source/core/scripts/templates/MakeNames.cpp.tmpl
|
| deleted file mode 100644
|
| index 85f55a10910808118f0c78db980d6ab42dd8eeb5..0000000000000000000000000000000000000000
|
| --- a/Source/core/scripts/templates/MakeNames.cpp.tmpl
|
| +++ /dev/null
|
| @@ -1,36 +0,0 @@
|
| -{% from "macros.tmpl" import license -%}
|
| -{{ license() }}
|
| -
|
| -#include "config.h"
|
| -
|
| -#ifdef SKIP_STATIC_CONSTRUCTORS_ON_GCC
|
| -#define {{namespace}}_HIDE_GLOBALS 1
|
| -#endif
|
| -
|
| -#include "{{namespace}}.h"
|
| -
|
| -#include "wtf/StaticConstructors.h"
|
| -
|
| -namespace WebCore {
|
| -namespace {{namespace}} {
|
| -
|
| -using namespace WTF;
|
| -
|
| -{%- for name in names %}
|
| -DEFINE_GLOBAL(AtomicString, {{name}})
|
| -{%- endfor %}
|
| -
|
| -void init()
|
| -{
|
| -{%- for name in names %}
|
| - StringImpl* {{name}}Impl = StringImpl::createStatic("{{name}}", {{name|length}}, {{name|hash}});
|
| -{%- endfor %}
|
| -
|
| -
|
| -{%- for name in names %}
|
| - new ((void*)&{{name}}) AtomicString({{name}}Impl);
|
| -{%- endfor %}
|
| -}
|
| -
|
| -} // {{namespace}}
|
| -} // WebCore
|
|
|