Paint disambiguation popup starting from LayoutView

This fixes a regression introduced in r567901. The issue is that the
paint property tree now includes the visual viewport transform. This
means the paint method used by the disambiguation popup (and other)
feature would unexpectedly have the pinch zoom transform applied and
thus show the wrong area (or none at all).

This patch fixes the issue by starting painting at the LayoutView's
property tree state.

Bug: 854086
Change-Id: I5baae162e65d93f2c9a6f46b3af1a5c04af6fc63
Commit-Queue: Jianpeng Chao <>
Reviewed-by: Philip Rogers <>
Reviewed-by: Avi Drissman <>
Reviewed-by: Tommy Li <>
Cr-Commit-Position: refs/heads/master@{#575733}
15 files changed