Descriptionviews: Remove early out for empty clip.
View::Paint will early out if the view is not inside the invalidation
rect passed down from the compositor via the PaintContext.
Since View::Paint was first written it had an early out after clipping
the canvas to the view's bounds, which was meant to do the same thing.
The canvas was clipped to the compositor's invalidation, and if the
the View did not intersect the invalidation, the resulting clip would
be empty.
Now this early out is redundant, and will become extra useless when
each View creates its own canvas to record itself into. So remove it.
R=sadrul, sky
BUG=466426
Committed: https://crrev.com/471feef61b5e73fdf8be7ba73d00326572af770e
Cr-Commit-Position: refs/heads/master@{#323705}
Patch Set 1 #Patch Set 2 : viewclipearlyout: comments #Messages
Total messages: 6 (1 generated)
|