commit | ab926f0a1bca1c6e17520803d964a0344b4f79b4 | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Wed May 25 08:53:40 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed May 25 08:53:40 2016 -0700 |
tree | 60dbad0b99633cb00d4de1bf932439b0b535c2ad | |
parent | c4ed68426649dd4ca2c3119cdafdd562d3c3ba28 [diff] [blame] |
Write ICC profiles from SkColorSpace object BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2001203003 Review-Url: https://codereview.chromium.org/2001203003
diff --git a/src/core/SkEndian.h b/src/core/SkEndian.h index 954afb0..39e5dd8 100644 --- a/src/core/SkEndian.h +++ b/src/core/SkEndian.h
@@ -50,7 +50,7 @@ /** Reverse all 4 bytes in a 32bit value. e.g. 0x12345678 -> 0x78563412 */ -static inline uint32_t SkEndianSwap32(uint32_t value) { +static constexpr uint32_t SkEndianSwap32(uint32_t value) { return ((value & 0xFF) << 24) | ((value & 0xFF00) << 8) | ((value & 0xFF0000) >> 8) |