Remove GraphicsLayer::GetPosition and SetPosition
The last remaining use of GraphicsLayer's position, including side-effects such as non-UI code reads of cc Layer::position which is set via GraphicsLayer::SetPosition, is UpdateMainGraphicsLayerGeometry where it is used to determine if the position changed and a call to SetPosition is needed. Since there are no other readers of this data, this callsite can be removed along with all other SetPosition callsites and supporting (now unused) code. This has no functional impact on Blink composition as layer position has already moved over to using BGPT. Bug: 999336 Change-Id: I7937c601269bafb515ad1ce16231dbacf70b8efb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1935499 Commit-Queue: Sam Fortiner <samfort@microsoft.com> Reviewed-by:Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#719316}
Showing
This diff is collapsed.
Please register or sign in to comment