Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Issue 2085673004: Fix tab strip rendering at non-integral scale factors in MD. (Closed)

Created:
4 years, 6 months ago by Bret
Modified:
4 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix tab strip rendering at non-integral scale factors in MD. This fixes two issues: * Hairline horizontal borders were actually drawing with thickness equal to the dsf for non-integral scale factors, due to loss of precision. * The bottom of the tab fill path was not aligned with whole pixels, which was partially causing an artifact when ClipPath was called. BUG=615153 Committed: https://crrev.com/a33441839f9a8d028db80a164891d32eaaf50b0b Cr-Commit-Position: refs/heads/master@{#401171}

Patch Set 1 #

Patch Set 2 : revert some unnecessary stuff #

Total comments: 2

Patch Set 3 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M chrome/browser/ui/views/frame/browser_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 12 (6 generated)
Bret
4 years, 6 months ago (2016-06-21 22:13:12 UTC) #3
Peter Kasting
LGTM https://codereview.chromium.org/2085673004/diff/20001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/2085673004/diff/20001/chrome/browser/ui/views/tabs/tab.cc#newcode1659 chrome/browser/ui/views/tabs/tab.cc:1659: const float bottom = std::ceil(height() * scale); Add ...
4 years, 6 months ago (2016-06-21 23:54:11 UTC) #4
Bret
https://codereview.chromium.org/2085673004/diff/20001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/2085673004/diff/20001/chrome/browser/ui/views/tabs/tab.cc#newcode1659 chrome/browser/ui/views/tabs/tab.cc:1659: const float bottom = std::ceil(height() * scale); On 2016/06/21 ...
4 years, 6 months ago (2016-06-22 01:00:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2085673004/40001
4 years, 6 months ago (2016-06-22 01:02:21 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-22 02:25:34 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 02:28:15 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a33441839f9a8d028db80a164891d32eaaf50b0b
Cr-Commit-Position: refs/heads/master@{#401171}

Powered by Google App Engine
This is Rietveld 408576698