Round the deviceScaleFactor for GTK
A previous change, https://crrev.com/54668d23a68b82a35be7359cce9e4569e178cf6f, removed rounding of the scale factor for GTK platforms. This resulting in blurry content for some users with desktop environments that give deviceScaleFactors of 1.002 and similar. To address the problem, round the scale to 2 decimal places. Fixed: 1087109 Change-Id: I17364d69facc3745528a8971bb2616ff76eb9b25 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2639816Reviewed-by:Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#845887}
Showing
Please register or sign in to comment