Set aspect ratio 1:1 if there is no screenshot
Right now, we use a fixed size for this, which doesn't scale well to multiple devices with different screen aspect ratios. A more elegant fix is to keep the aspect ratio if we don't have a screenshot. BUG=947638 Change-Id: I7ef1465d684fe73c67c1ba37e00511281e3635b8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1546628Reviewed-by:Wei-Yin Chen (陳威尹) <wychen@chromium.org> Commit-Queue: Yusuf Ozuysal <yusufo@chromium.org> Cr-Commit-Position: refs/heads/master@{#646519}
Showing
Please register or sign in to comment