commit | 115dc0aa5eba7ec2e2a0164a841b78783dd2672e | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Mon Nov 12 07:14:27 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Nov 12 07:14:27 2018 |
tree | 51a58038b7122c4c7d2f2a33fb621d3bb9d6d1d4 | |
parent | 48fbdf22b0497ee4509cf8151c83ef8deb4d7181 [diff] |
[LayoutNG] NGPhysicalFragment size reduction and warning This patch reduces the size of NGPhysicalFragment by: * NGPhysicalFragment by pointer, by removing virtual functions. * NGPhysicalTextFragment by a word, by moving flags to NGPhysicalFragment. * NGPhysicalTextFragment::EndEffect() is no longer used and that removed. Also adds size warning to all subclasses. Currently, NGPhysicalFragment has 13 bits in flags, plus 5 bits for its subclasses, 18 bits total. Bug: 591099 Change-Id: I189f691c1976da1eb1223ac9c782e02567038310 Reviewed-on: https://chromium-review.googlesource.com/c/1329703 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#607159}
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 .