skcms→307ec0f remove a layer of nesting in skcms_Curve
Change-Id: I0b0959063c22b2066b2103a4e93e396c10eb388e
Reviewed-on: https://skia-review.googlesource.com/120382
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
diff --git a/third_party/skcms/skcms.h b/third_party/skcms/skcms.h
index b48a733..1e609dc 100644
--- a/third_party/skcms/skcms.h
+++ b/third_party/skcms/skcms.h
@@ -39,17 +39,15 @@
} skcms_TransferFunction;
// Unified representation of 'curv' or 'para' tag data, or a 1D table from 'mft1' or 'mft2'
-typedef struct {
- union {
- struct {
- uint32_t alias_of_table_entries;
- skcms_TransferFunction parametric;
- };
- struct {
- uint32_t table_entries;
- const uint8_t* table_8;
- const uint8_t* table_16;
- };
+typedef union {
+ struct {
+ uint32_t alias_of_table_entries;
+ skcms_TransferFunction parametric;
+ };
+ struct {
+ uint32_t table_entries;
+ const uint8_t* table_8;
+ const uint8_t* table_16;
};
} skcms_Curve;