Fix DevTools eyedropper when device scale factor is not 1
FrameSinkVideoCapturer returns a full-resolution snapshot of the page, but DevToolsEyeDropper expects the snapshot to be scaled to the page's dip size. This is problematic for the current configuration of FrameSinkVideoCapturer if device scale factor is anything other than 1. Make sure FrameSinkVideoCaptuerer also scales the snapshot to the expected size. TBR=caseq@chromium.org Bug: 813929 Change-Id: I324c6dccfd7db69e07d2283f826a613946c0bf07 Reviewed-on: https://chromium-review.googlesource.com/986291 Commit-Queue: Saman Sami <samans@chromium.org> Reviewed-by:Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#548312}
Showing
Please register or sign in to comment