ContentVisibility: Remove unneeded frame-schedules on lock/unlock.
This patch removes ScheduleAnimation calls from lock/unlock. These are not required because we invalidate paint anyway so the lifecycle will already happen. Either that or we are already in the lifecycle when we determine that we need to lock. R=chrishtr@chromium.org, szager@chromium.org Change-Id: I1284b435882e2365f75b1b8baaf79fab8713ba99 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2375069Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Reviewed-by:
Stefan Zager <szager@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#801466}
Showing
Please register or sign in to comment