Combine BoxCliper{,Base} and NGBoxClipper into a single ScopedBoxClipper.
This patch combines three classes into one with two constructors. This is in preparation for using ContentsProperties instead of a specific contents properties' clip. There are situations where we do want only the clip and only if the contents properties' clip is different from local border box properties clip, so that's left for a follow-up patch. Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng;luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I2ed2f0c45918c8f1d79db054ef975234e46821ea Reviewed-on: https://chromium-review.googlesource.com/1171674Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#585175}
Showing
Please register or sign in to comment