Only invalidate child clipping mask layer when needed
This patch only invalidates the child clipping mask layer if the size actually changes. https://crrev.com/564140 regressed performance by calling this unconditionally. Because the same bug was made in https://crrev.com/565415, this patch also updates the two GraphicsLayer::SetSize callsites from that patch. Bug: 851105 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I74bcda83054e8e21332e723d0fc816910086e2e4 Reviewed-on: https://chromium-review.googlesource.com/1111208Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#569645}
Showing
Please register or sign in to comment