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

Issue 12939015: Fix sizing when auto-scaling a missing resource at a non-integer scale factor. (Closed)

Created:
7 years, 9 months ago by kevers
Modified:
7 years, 8 months ago
Reviewers:
tony
CC:
chromium-reviews, oshima
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Fix sizing when auto-scaling a missing resource at a non-integer scale factor. Matches the rounding rules used by UX when scaling resources at non-integer scale factors. BUG=223928 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190970 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192576

Patch Set 1 #

Patch Set 2 : Add unit test. #

Patch Set 3 : Make rounding test Windows only. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -2 lines) Patch
M ui/base/resource/resource_bundle.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/base/resource/resource_bundle_unittest.cc View 1 2 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
kevers
Hi Tony, Can you please have a look at this CL.
7 years, 9 months ago (2013-03-26 15:00:09 UTC) #1
tony
LGTM. Should there be a unit test for this?
7 years, 9 months ago (2013-03-26 17:03:16 UTC) #2
kevers
On 2013/03/26 17:03:16, tony wrote: > LGTM. Should there be a unit test for this? ...
7 years, 9 months ago (2013-03-26 18:43:16 UTC) #3
tony
Thanks for writing a unit test. LGTM!
7 years, 9 months ago (2013-03-26 19:36:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/12939015/4001
7 years, 9 months ago (2013-03-27 14:29:50 UTC) #5
commit-bot: I haz the power
Change committed as 190970
7 years, 9 months ago (2013-03-27 17:43:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/12939015/34001
7 years, 8 months ago (2013-04-05 13:54:17 UTC) #7
commit-bot: I haz the power
7 years, 8 months ago (2013-04-05 16:17:50 UTC) #8
Message was sent while issue was closed.
Change committed as 192576

Powered by Google App Engine
This is Rietveld 408576698