Use DEFINE_STATIC_LOCAL in CSSProperty::GetPropertyNameAtomicString
This avoids having a destructor being run when terminating the process. These destructor could have ordering issues wrt to the destruction of the AtomicStringTable. Using DEFINE_STATIC_LOCAL also shrinks the binary a bit. (The android-binary-size bot says -16375 bytes.) Remove some redundant '\0' characters for some additional (but minor) savings. Change-Id: I4f5c19fceb9b668e74d3ef9bad58b104182ddb86 Reviewed-on: https://chromium-review.googlesource.com/1233700Reviewed-by:Anders Ruud <andruud@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#592383}
Showing
Please register or sign in to comment