commit | 846d2dac9ce0e46592c9875d7f31b39959dc8586 | [log] [tgz] |
---|---|---|
author | Krishna Govind <govind@chromium.org> | Mon Jun 17 15:32:48 2019 |
committer | Krishna Govind <govind@chromium.org> | Mon Jun 17 15:32:48 2019 |
tree | bbb8dc4a603ecfe8531b0c855170321e4802d18c | |
parent | ab9287f4b156189214d3694e0c15135c7bb3ca97 [diff] |
Revert "Allocate memory for borders and padding members of NGPhysicalBoxFragment if needed" This reverts commit d91d4f3cdb39fc6157a1a05b8353110ecce8c5d4. Reason for revert:Breaks beta builds, crbug 974731 Original change's description: > Allocate memory for borders and padding members of NGPhysicalBoxFragment if needed > > This patch changes memory layout of |NGPhysicalBoxFragment| based on value of > borders and padding as > - No borders and no padding > |NGPhysicalBoxFragment|, children[] > - having both borders no padding > |NGPhysicalBoxFragment|, children[], borders, padding > - borders and no padding > |NGPhysicalBoxFragment|, children[], borders > - no borders and padding > |NGPhysicalBoxFragment|, children[], padding > for reducing memory usage, since borders and padding are frequently zero. > > (cherry picked from commit 8318aa75176654769ece376cd71fd9fc5deef823) > > TBR=yosin@chromium.org > > Bug: 962108 > Change-Id: I2af0ed3a3c3f111d2d4cd567073ebcba628c7279 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662094 > Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> > Cr-Commit-Position: refs/branch-heads/3809@{#335} > Cr-Branched-From: d82dec1a818f378c464ba307ddd9c92133eac355-refs/heads/master@{#665002} TBR=yosin@chromium.org Change-Id: I99119543d16950d287ba0497b5850c91e9c1cb5c No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 962108 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661662 Reviewed-by: Krishna Govind <govind@chromium.org> Cr-Commit-Position: refs/branch-heads/3809@{#343} Cr-Branched-From: d82dec1a818f378c464ba307ddd9c92133eac355-refs/heads/master@{#665002}
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 .