Skip IsReadyToActivate in TileManager::IssueSignals() if no pending tree
We build raster queues for both pending layers and active layers when checking IsReadyToActivate() in issuing signals. If there is no pending tree from the TileManageClient, we can save the CPU time by skipping IsReadyToActivate(). Bug: 880190 Change-Id: Iac2e162ffb1d462cd3a3168cfed7c22363013537 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505115Reviewed-by:vmpstr <vmpstr@chromium.org> Commit-Queue: Maggie Chen <magchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#822223}
Showing
Please register or sign in to comment