Index: src/codec/SkJpegCodec.h |
diff --git a/src/codec/SkJpegCodec.h b/src/codec/SkJpegCodec.h |
index 7eb5100a8fadcfbd811aad5386c13426b56f20cf..f1785900d79854870e987a559b4784dc1d142aa9 100644 |
--- a/src/codec/SkJpegCodec.h |
+++ b/src/codec/SkJpegCodec.h |
@@ -8,6 +8,13 @@ |
#ifndef SkJpegCodec_DEFINED |
#define SkJpegCodec_DEFINED |
+// For testing. |
+#ifdef SKNX_NO_SIMD |
+#undef TURBO_HAS_CROP |
+#undef TURBO_HAS_SKIP |
+#undef TURBO_HAS_565 |
+#endif |
+ |
#include "SkCodec.h" |
#include "SkColorSpace.h" |
#include "SkColorSpaceXform.h" |
@@ -141,6 +148,10 @@ private: |
sk_sp<SkData> fICCData; |
+#if !defined(TURBO_HAS_SKIP) |
+ SkAutoTMalloc<uint8_t> fSkipStorage; |
+#endif |
+ |
typedef SkCodec INHERITED; |
}; |