commit | e94bb783688613f83f8ba7c6a9b006e751f28aa3 | [log] [tgz] |
---|---|---|
author | jbauman <jbauman@chromium.org> | Mon Aug 22 19:46:51 2016 |
committer | Commit bot <commit-bot@chromium.org> | Mon Aug 22 19:48:12 2016 |
tree | 1e665cec1bd5895ea83c582c4f6f558e6179c38f | |
parent | 55e6cc560a8e152d26f1b69e0929c53681eeacd7 [diff] |
Use 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 Review-Url: https://codereview.chromium.org/2263453002 Cr-Commit-Position: refs/heads/master@{#413515}