Return const char* from CSS*Property::GetJSPropertyName
This makes callsites slightly slower (requiring calls to strlen()), but the result is cached for the primary user of this, so the difference from that is likely negligible. Each indiviual method however no longer need to instantiate a WTF::String, yielding a perhaps modest, but not insignificant, reduction in binary size (-1568 bytes according to the android-binary-size bot.) Change-Id: Ib9ecc17cbe3e745bc2c33e1b4d9dcbd40190e026 Reviewed-on: https://chromium-review.googlesource.com/1233710Reviewed-by:Anders Ruud <andruud@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#592728}
Showing
Please register or sign in to comment