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

Issue 2368263002: These calls to SkRandom are not sequenced. (Closed)

Created:
4 years, 2 months ago by mtklein_C
Modified:
4 years, 2 months ago
Reviewers:
jvanverth1, Brian Osman
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

These calls to SkRandom are not sequenced. This is why we see two versions of this GM: some compilers evaluate the rand.nextRangeScalar() calls left to right, others right to left. Remember this bug? BUG=skia:3241 (https://codereview.chromium.org/1157943006 fixed hittestpath last year.) GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2368263002 Committed: https://skia.googlesource.com/skia/+/1c127cc3e1d8603bf970211f1d85a1ce3b6fb138

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M gm/beziers.cpp View 2 chunks +15 lines, -6 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
mtklein_C
4 years, 2 months ago (2016-09-26 13:01:13 UTC) #8
Brian Osman
lgtm
4 years, 2 months ago (2016-09-26 13:04:08 UTC) #10
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/2368263002/1
4 years, 2 months ago (2016-09-26 13:05:24 UTC) #13
mtklein_C
Unfortunately, the Clang warning that can catch this sort of thing (-Wunsequenced) is on---by default---and ...
4 years, 2 months ago (2016-09-26 13:07:21 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-09-26 13:29:21 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/1c127cc3e1d8603bf970211f1d85a1ce3b6fb138

Powered by Google App Engine
This is Rietveld 408576698