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

Issue 2327903002: gfx: Do the ToEnclosingRect in double precision. (Closed)

Created:
4 years, 3 months ago by vmpstr
Modified:
4 years, 3 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gfx: Do the ToEnclosingRect in double precision. This patch changes ToEnclosingRect to use doubles instead of float when computing width/height, since lack of precision in floats can cause incorrect values (as shown in the test). R=danakj BUG=644873 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/50000257dcf62a1c146c03617c7f1100800faf28 Cr-Commit-Position: refs/heads/master@{#417772}

Patch Set 1 #

Patch Set 2 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -33 lines) Patch
M cc/playback/discardable_image_map_unittest.cc View 1 1 chunk +9 lines, -4 lines 0 comments Download
M ui/gfx/geometry/rect_conversions.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ui/gfx/geometry/rect_unittest.cc View 1 chunk +18 lines, -27 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
vmpstr
Please take a look.
4 years, 3 months ago (2016-09-09 19:59:07 UTC) #1
danakj
Seems good, can you do a telemetry try run for thread times to verify its ...
4 years, 3 months ago (2016-09-09 20:16:46 UTC) #2
vmpstr
On 2016/09/09 20:16:46, danakj wrote: > Seems good, can you do a telemetry try run ...
4 years, 3 months ago (2016-09-09 21:34:41 UTC) #3
danakj
On 2016/09/09 21:34:41, vmpstr wrote: > On 2016/09/09 20:16:46, danakj wrote: > > Seems good, ...
4 years, 3 months ago (2016-09-09 21:44:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2327903002/1
4 years, 3 months ago (2016-09-09 21:45:17 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/139315) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-09-09 22:24:39 UTC) #8
danakj
LGTM
4 years, 3 months ago (2016-09-09 23:08:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2327903002/20001
4 years, 3 months ago (2016-09-09 23:08:49 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-10 00:07:08 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-10 00:09:22 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/50000257dcf62a1c146c03617c7f1100800faf28
Cr-Commit-Position: refs/heads/master@{#417772}

Powered by Google App Engine
This is Rietveld 408576698