Record root layer's position in its TransformNode

Currently we only record non-root layer's position in the
associated TransformNode. In practice, root layer might always
be positioned at (0,0), so we might not be seeing the problem.
But in tests we can manually set root layer to have non-zero
position which will cause visible rects mismatch for property
tree verification.

One example is the unittest in this CL that root layer is positioned
at (60, 70, 100x100). Viewport size is (0, 0, 100x100) in target
space, so the visible rects of the root layer is clipped to be
size 40x30.

With the fix the unittest pass with property tree verification
turned on.

BUG=None
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1159983010

Cr-Commit-Position: refs/heads/master@{#333109}
2 files changed