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

Issue 660953002: Type conversion fixes, text rendering edition. (Closed)

Created:
6 years, 2 months ago by Peter Kasting
Modified:
6 years, 2 months ago
Reviewers:
msw, Daniel Erat, ckocagil
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Type conversion fixes, text rendering edition. This is mostly to fix MSVC warnings about possible value truncation. BUG=81439 TEST=none Committed: https://crrev.com/bc91db51bd9df5f29ebfe7940691016716caf5a0 Cr-Commit-Position: refs/heads/master@{#300550}

Patch Set 1 #

Total comments: 22

Patch Set 2 : Test fix for try failure #

Patch Set 3 : Review comments #

Patch Set 4 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -45 lines) Patch
M ui/gfx/canvas.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M ui/gfx/canvas_skia.cc View 1 2 6 chunks +14 lines, -9 lines 0 comments Download
M ui/gfx/render_text.cc View 1 2 3 7 chunks +15 lines, -9 lines 0 comments Download
M ui/gfx/render_text_harfbuzz.cc View 1 2 7 chunks +18 lines, -15 lines 0 comments Download
M ui/gfx/render_text_win.cc View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M ui/gfx/text_elider.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (5 generated)
Peter Kasting
There's a lot of stuff in here that seems sketchy/scary to me; I've highlighted some ...
6 years, 2 months ago (2014-10-17 01:10:37 UTC) #2
msw
Yeah, float support in RenderText is lacking, we'll ultimately want widespread float support for text, ...
6 years, 2 months ago (2014-10-17 22:13:23 UTC) #4
Daniel Erat
https://codereview.chromium.org/660953002/diff/1/ui/gfx/render_text.cc File ui/gfx/render_text.cc (right): https://codereview.chromium.org/660953002/diff/1/ui/gfx/render_text.cc#newcode863 ui/gfx/render_text.cc:863: // !!! Should this round or ceil? On 2014/10/17 ...
6 years, 2 months ago (2014-10-17 23:20:05 UTC) #5
Peter Kasting
PTAL. https://codereview.chromium.org/660953002/diff/1/ui/gfx/canvas.cc File ui/gfx/canvas.cc (right): https://codereview.chromium.org/660953002/diff/1/ui/gfx/canvas.cc#newcode99 ui/gfx/canvas.cc:99: *width = static_cast<int>(std::ceil(fractional_width)); On 2014/10/17 22:13:23, msw wrote: ...
6 years, 2 months ago (2014-10-21 01:20:46 UTC) #6
msw
lgtm
6 years, 2 months ago (2014-10-21 02:05:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660953002/40001
6 years, 2 months ago (2014-10-21 02:17:48 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/25486)
6 years, 2 months ago (2014-10-21 03:55:08 UTC) #11
Peter Kasting
As discussed over IM, I reverted the SetDisplayOffset() behavior change due to it breaking a ...
6 years, 2 months ago (2014-10-21 19:15:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660953002/60001
6 years, 2 months ago (2014-10-21 19:17:41 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-21 20:35:50 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-10-21 20:36:58 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bc91db51bd9df5f29ebfe7940691016716caf5a0
Cr-Commit-Position: refs/heads/master@{#300550}

Powered by Google App Engine
This is Rietveld 408576698