diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/build/scripts/templates/make_names.h.tmpl')
-rw-r--r-- | chromium/third_party/blink/renderer/build/scripts/templates/make_names.h.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/build/scripts/templates/make_names.h.tmpl b/chromium/third_party/blink/renderer/build/scripts/templates/make_names.h.tmpl index 621c966d6ee..6b624979d16 100644 --- a/chromium/third_party/blink/renderer/build/scripts/templates/make_names.h.tmpl +++ b/chromium/third_party/blink/renderer/build/scripts/templates/make_names.h.tmpl @@ -17,17 +17,17 @@ {% endif %} namespace blink { -namespace {{namespace}}Names { +namespace {{namespace}} { {% for entry in entries|sort %} {{symbol_export}}extern const WTF::AtomicString& {{entry|symbol}}; {% endfor %} -const unsigned {{namespace}}{{suffix}}NamesCount = {{entries|length}}; +constexpr unsigned k{{suffix}}NamesCount = {{entries|length}}; -{{symbol_export}}void init{{suffix}}(); +{{symbol_export}}void Init{{suffix}}(); -} // {{namespace}}Names +} // namespace {{namespace}} } // namespace blink #endif // {{header_guard}} |