cc: 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 Review URL: https://codereview.chromium.org/674253002 Cr-Commit-Position: refs/heads/master@{#301366}
Showing
Please register or sign in to comment