Descriptioncc: Move calculation of content rect to RenderSurfaceImpl class
Calculation of content rect used to live in LayerTreeHostCommon, but is
only useful for render surface. Move it to RenderSurfaceImpl class.
Render surface now hides the SetContentRect function.
This also leads to deletion of helper function CalculateVisibleRect
since it's only used in calculating content rect.
BUG=504464
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/6da3286eca2180a66a6cb433f4d1f58f11011cfc
Cr-Commit-Position: refs/heads/master@{#388520}
Patch Set 1 #
Total comments: 3
Patch Set 2 : rebase #Patch Set 3 : address review comments #Patch Set 4 : fix error #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 10 (5 generated)
|