DescriptionUse enclosing rect to find WindowTreeHost size.
This was using the floored size, so with fractional device scale factors
the right and bottom pixels sometimes aren't drawn. The resulting black
area looks ugly with opaque windows (e.g. with a theme on the browser
window).
BUG=607993
Committed: https://crrev.com/e94bb783688613f83f8ba7c6a9b006e751f28aa3
Cr-Commit-Position: refs/heads/master@{#413515}
Patch Set 1 #Patch Set 2 : add unit test #
Messages
Total messages: 18 (13 generated)
|