Descriptioncc: Make all layer recursion use CallFunctionForSubtree
This is mostly a cleanup that I noticed while doing other code.
The behavior change here is that SetNeedsDisplay and DidBecomeActive is
now called for all mask and replica layers.
Also, refactor CallFunctionForSubtree so that both functors and
functions can be passed to it. As no uses in the codebase actually
needed function objects with state, turn them all into simpler static
functions.
R=danakj@chromium.org
BUG=239614
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204221
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : DidBeginTracing changes #
Messages
Total messages: 6 (0 generated)
|