commit | db30d75171b1af5e2e5fb0e96fff88d7ff91ce75 | [log] [tgz] |
---|---|---|
author | Kent Tamura <tkent@chromium.org> | Wed Jul 04 11:36:06 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 04 11:36:06 2018 |
tree | f061563a40bcf95f6f3f0b8b784310dbbee70514 | |
parent | cca7122dd8e76a35e5ec1a5e161d3cc92f231350 [diff] |
bindings: Reduce the size of script_state.h script_state.h is used in 4,500+ compilation units, and this CL reduces its estimated pre-processed size from 2.13MB to 0.79MB. * Move |kV8ContextPerContextDataIndex| from v8_per_context_data.h to script_state.h. Also, it should not be an enum item. * Generated binding code doesn't include v8_per_context_data.h by default. So we need to include it if necessary. Bug: 242216 Change-Id: Icb219357585ccb55a8932131473fe0a9b3bc1484 Reviewed-on: https://chromium-review.googlesource.com/1125592 Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#572538}
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 .