Descriptioncc: Make consistent use of bounds() versus the pile's size.
In PictureLayerImpl we assume that the pile size matches the bounds but
this is subtley not true when the layer is not part of the visible
frame (ie. not in the RenderSurfaceLayerList).
So use the pile's size consistently everywhere except during drawing
where using the bounds makes some logical sense. And DCHECK they are
equal there.
R=enne, vmpstr
Committed: https://crrev.com/7b4cac771543aaa4f424fb468573a79891eab5cb
Cr-Commit-Position: refs/heads/master@{#301366}
Patch Set 1 #Patch Set 2 : bounds: testfixes #Patch Set 3 : bounds: header #Patch Set 4 : bounds: comment #Patch Set 5 : bounds: commentbetter #Patch Set 6 : bounds: rebase #
Messages
Total messages: 15 (4 generated)
|