Avoid no-op CATransactions
Tighten the scope of the ScopedCAActionDisabler and add early-outs to avoid creating it when we will not actually change the CALayer tree. This is a speculative fix for leaked blocks, which may be related to CATransactions. Bug: 853438 Change-Id: I6b6985d6b44c33a53021d3af43ebedd0ffd254b9 Reviewed-on: https://chromium-review.googlesource.com/1115869 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#570958}
Showing
Please register or sign in to comment