Roll skia/third_party/skcms 5b9549a..28e8b32 (1 commits)
https://skia.googlesource.com/skcms.git/+log/5b9549a..28e8b32
2018-05-10 mtklein@chromium.org alternate isfinitef_()
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=egdaniel@google.com
Change-Id: I7f97daac4d2caa153425e43ce6bd10cda400e91f
Reviewed-on: https://skia-review.googlesource.com/127443
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>
diff --git a/third_party/skcms/src/PortableMath.c b/third_party/skcms/src/PortableMath.c
index 9e1a138..d63d6ab 100644
--- a/third_party/skcms/src/PortableMath.c
+++ b/third_party/skcms/src/PortableMath.c
@@ -60,9 +60,3 @@
return (x == 0) || (x == 1) ? x : r * exp2f_(log2f_(x) * y);
}
-
-bool isfinitef_(float x) {
- uint32_t bits;
- small_memcpy(&bits, &x, sizeof(bits));
- return (bits & 0x7f800000) != 0x7f800000;
-}
diff --git a/third_party/skcms/src/PortableMath.h b/third_party/skcms/src/PortableMath.h
index efa59bf..58a2fa8 100644
--- a/third_party/skcms/src/PortableMath.h
+++ b/third_party/skcms/src/PortableMath.h
@@ -27,4 +27,4 @@
float exp2f_(float);
float powf_(float, float);
-bool isfinitef_(float);
+static inline bool isfinitef_(float x) { return 0 == x*0; }
diff --git a/third_party/skcms/version.sha1 b/third_party/skcms/version.sha1
index 6a74e30..720d240 100755
--- a/third_party/skcms/version.sha1
+++ b/third_party/skcms/version.sha1
@@ -1 +1 @@
-5b9549acaa26e3e2cae8919a0ee0e4cdeb59e1e8
\ No newline at end of file
+28e8b3248d725ed1a7e71d0c9d3dffb3cee2c561
\ No newline at end of file