aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/skcms
diff options
context:
space:
mode:
authorGravatar skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>2018-05-04 13:44:26 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-04 14:34:22 +0000
commit4824ed05ac126a4de5322f93e5af821d611b974d (patch)
treef3a958270822155c6a861945d3a0c490cc2e4dc7 /third_party/skcms
parentda926dbd6978202a6ced783cd184cb8512cde2aa (diff)
Roll skia/third_party/skcms cc1799c..02fc32e (1 commits)
https://skia.googlesource.com/skcms.git/+log/cc1799c..02fc32e 2018-05-04 mtklein@chromium.org pull in roundtrip thresholds much more tightly The AutoRoll server is located here: https://skcms-skia-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel TBR=brianosman@google.com Change-Id: If327b95b8d9b81e95b3047f9f9499d6282aa4dee Reviewed-on: https://skia-review.googlesource.com/125942 Commit-Queue: skcms-skia-autoroll <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Reviewed-by: skcms-skia-autoroll <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Diffstat (limited to 'third_party/skcms')
-rw-r--r--third_party/skcms/src/PolyTF.c2
-rwxr-xr-xthird_party/skcms/version.sha12
2 files changed, 2 insertions, 2 deletions
diff --git a/third_party/skcms/src/PolyTF.c b/third_party/skcms/src/PolyTF.c
index 62da2d488f..6ffbc5049e 100644
--- a/third_party/skcms/src/PolyTF.c
+++ b/third_party/skcms/src/PolyTF.c
@@ -149,7 +149,7 @@ static bool fit_poly_tf(const skcms_Curve* curve, skcms_PolyTF* tf) {
float rt = skcms_TransferFunction_eval(&inv, eval_poly_tf(x, A,B,C,D))
* (N-1) + 0.5f;
- if (!isfinitef_(rt) || rt > INT_MAX || rt < -INT_MAX) {
+ if (!isfinitef_(rt) || rt >= N || rt < 0) {
return false;
}
diff --git a/third_party/skcms/version.sha1 b/third_party/skcms/version.sha1
index 9cabfc9743..8ba237cecf 100755
--- a/third_party/skcms/version.sha1
+++ b/third_party/skcms/version.sha1
@@ -1 +1 @@
-cc1799c6b4fce905ad3810924d1a1a73b10ec230 \ No newline at end of file
+02fc32ea7f43008fd55a5fa0c12e43596aee4cd9 \ No newline at end of file