Revert "[PE] Don't call PaintController::FinishCycle() if not repainted"
This reverts commit e71a3846. Reason for revert: Caused performance regressions because changed paint properties are not cleared changed flags. Original change's description: > [PE] Don't call PaintController::FinishCycle() if not repainted > > This is mainly a performance optimization because we don't need > FinishCycle() if PaintController has nothing changed. > > By the way it can also avoid the immediate bad effect (but not the > root cause) of bug 859294. > > Bug: 859294 > Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: Iad3e14ee303c08185922d3d6e495c3b25ead5434 > Reviewed-on: https://chromium-review.googlesource.com/1121783 > Reviewed-by: Chris Harrelson <chrishtr@chromium.org> > Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> > Cr-Commit-Position: refs/heads/master@{#571803} TBR=wangxianzhu@chromium.org,chrishtr@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 859294, 859885 Change-Id: I2a4d2a7d09cc3bf5edfbf0c6dee275581030c2c9 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1124701Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#572302}
Showing
Please register or sign in to comment