DescriptionMake commit for swap promises do not unset can_cancel_commit.
When swap promises are enqueued we request a commit. If there
are no updates the promises should be broken and the commit
skipped (EarlyOut_NoUpdates). To achieve that we request
the commit by calling SetNeedsUpdateLayers instead of
SetNeedsCommit in order to not unset can_cancel_commit. Note
that SetNeedsUpdateLayers is a subset of SetNeedsCommit and a
no-op when a commit has already been requested.
BUG=458577
Committed: https://crrev.com/eab34cc80772373eac0df3b6003fe1eeaf767d78
Cr-Commit-Position: refs/heads/master@{#317292}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase and comment #
Messages
Total messages: 13 (5 generated)
|