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

Issue 2006653006: pin before calling acos (Closed)

Created:
4 years, 7 months ago by caryclark
Modified:
4 years, 6 months ago
Reviewers:
reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

pin before calling acos Adobe reports some user crashes in acos(). While the cause is unknown, it's safe and may help stability to pin the input in case the arguments drifted slightly outside [-1, 1]. R=reed@google.com BUG=skia:5222 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2006653006 Committed: https://skia.googlesource.com/skia/+/93ca884879e3469b46d32c36deb7b46f2fff1c0c

Patch Set 1 #

Total comments: 1

Patch Set 2 : add comment #

Patch Set 3 : always compute a cubic normal #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -41 lines) Patch
A gm/bug615686.cpp View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M src/core/SkGeometry.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/core/SkStroke.cpp View 1 2 9 chunks +26 lines, -39 lines 0 comments Download
M src/pathops/SkPathOpsCubic.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 15 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006653006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006653006/1
4 years, 7 months ago (2016-05-25 12:13:58 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-25 12:26:49 UTC) #6
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-25 12:26:57 UTC) #7
caryclark
4 years, 7 months ago (2016-05-25 17:09:02 UTC) #8
reed1
lgtm w/ request for comment(s) https://codereview.chromium.org/2006653006/diff/1/src/core/SkGeometry.cpp File src/core/SkGeometry.cpp (right): https://codereview.chromium.org/2006653006/diff/1/src/core/SkGeometry.cpp#newcode746 src/core/SkGeometry.cpp:746: SkScalar theta = SkScalarACos(SkScalarPin(R ...
4 years, 7 months ago (2016-05-25 17:12:52 UTC) #9
caryclark
I'm unclear on what you would like me to do. This data may help me ...
4 years, 7 months ago (2016-05-26 16:38:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006653006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006653006/20001
4 years, 7 months ago (2016-05-27 12:11:03 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 12:24:46 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/93ca884879e3469b46d32c36deb7b46f2fff1c0c

Powered by Google App Engine
This is Rietveld 408576698