[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}
Showing
Please register or sign in to comment