commit | 40e9c2237ae1a0d338ba596bf4c661f07bbc8080 | [log] [tgz] |
---|---|---|
author | Bence Béky <bnc@chromium.org> | Thu May 24 20:21:20 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu May 24 20:21:20 2018 |
tree | d0a2aeac51ab66be09405b00c2db599e2ae4070e | |
parent | 33fa7cfd629f57fd45ca2d7b2cdab14d304e249a [diff] |
Do not expand UMA_HISTOGRAM_ENUMERATION in 19 places. Instead of expanding UMA_HISTOGRAM_ENUMERATION macro in 19 places, use a single static method to log this histogram. The motivation for this change is to avoid binary bloat. This is a follow-up to https://crrev.com/c/1055949. This CL results in 2384 byte decrease in binary size for locally compiled release build on Linux, and no change for debug build. Bug: 831536 Change-Id: I0b5e741e29529c9f6ae22336b3a6c3d194042249 Reviewed-on: https://chromium-review.googlesource.com/1071731 Reviewed-by: Charlie Harrison <csharrison@chromium.org> Commit-Queue: Bence Béky <bnc@chromium.org> Cr-Commit-Position: refs/heads/master@{#561607}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .