Limit the screenshot height.
Limit the screenshot height.

Limit screenshot heights AFTER the screenshot is taken by 2^14 to avoid hitting the GPU limit and having incorrect results behind that limit in case of `device_scale_factor > 1`.

Bug: 1260828
Change-Id: Ia789515296c804a78525aa8f3ea2443380e4bf0b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3420340
Reviewed-by: Alex Rudenko <d8d88e7d7e77f69e23d1d1432231196fb8e02a62@chromium.org>
Commit-Queue: Maksim Sadym <e5fbec98cc7ab0b5d527c5f75b2499cc9fecbad8@chromium.org>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend