cros: Take voice interaction service screenshot at 1:1 scale
The screenshot implementation copies the layer tree and inherits the transform from the root window. When user zoom is applied, this transform contains scaling which affects the screenshot size. Resetting this transform on the copied layer tree root ensures that the screenshot is taken in screen pixels. TBR=lhchavez@chromium.org Bug: 752217 Change-Id: I5278217d0dc0c663b274ac695078c3d3bfff28fd Reviewed-on: https://chromium-review.googlesource.com/600849 Commit-Queue: Vladislav Kaznacheev <kaznacheev@chromium.org> Reviewed-by:Vladislav Kaznacheev <kaznacheev@chromium.org> Cr-Commit-Position: refs/heads/master@{#491840}
Showing
Please register or sign in to comment