aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
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-04-25 17:02:32 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-25 17:25:57 +0000
commitf0db23633f754cc3888494ea8d37e5dd8d495bfd (patch)
treef9f196a943b42a3ce5129d6cd3aa194e70ce72de /third_party
parent3c6ae62e0f9faeab0242fca2d19d61e64a7c8a6e (diff)
Roll skia/third_party/skcms f3a576b..9e351c0 (1 commits)
https://skia.googlesource.com/skcms.git/+log/f3a576b..9e351c0 2018-04-25 mtklein@chromium.org relax is_identity_tf() 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. TBR=stani@google.com Change-Id: I8e85719c85ca3ebbe3da2bf66e75968fd251c7a2 Reviewed-on: https://skia-review.googlesource.com/123656 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')
-rw-r--r--third_party/skcms/src/Transform.c4
-rwxr-xr-xthird_party/skcms/version.sha12
2 files changed, 3 insertions, 3 deletions
diff --git a/third_party/skcms/src/Transform.c b/third_party/skcms/src/Transform.c
index 9e893cf369..818294850e 100644
--- a/third_party/skcms/src/Transform.c
+++ b/third_party/skcms/src/Transform.c
@@ -312,8 +312,8 @@ bool g_skcms_dump_profile = false;
#endif
static bool is_identity_tf(const skcms_TransferFunction* tf) {
- static const skcms_TransferFunction I = {1,1,0,0,0,0,0};
- return 0 == memcmp(&I, tf, sizeof(I));
+ return tf->g == 1 && tf->a == 1
+ && tf->b == 0 && tf->c == 0 && tf->d == 0 && tf->e == 0 && tf->f == 0;
}
typedef struct {
diff --git a/third_party/skcms/version.sha1 b/third_party/skcms/version.sha1
index d9b63702b6..613794e829 100755
--- a/third_party/skcms/version.sha1
+++ b/third_party/skcms/version.sha1
@@ -1 +1 @@
-f3a576b6e8d430f515b6e6ff485b4f848fc6925f \ No newline at end of file
+9e351c034c2b8f6f3166efeaa65c0d4d4f4fa641 \ No newline at end of file