Index: src/opts/SkXfermode_opts_arm_neon.cpp |
diff --git a/src/opts/SkXfermode_opts_arm_neon.cpp b/src/opts/SkXfermode_opts_arm_neon.cpp |
index 88c179d9e827601fd72002d4dbb84167e4c84ecb..dca58eb53e9ac30b5229ddde0971554ed32e5ca9 100644 |
--- a/src/opts/SkXfermode_opts_arm_neon.cpp |
+++ b/src/opts/SkXfermode_opts_arm_neon.cpp |
@@ -743,10 +743,11 @@ typedef uint8x8x4_t (*SkXfermodeProcSIMD)(uint8x8x4_t src, uint8x8x4_t dst); |
extern SkXfermodeProcSIMD gNEONXfermodeProcs[]; |
-SkNEONProcCoeffXfermode::SkNEONProcCoeffXfermode(SkReadBuffer& buffer) |
- : INHERITED(buffer) { |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+SkNEONProcCoeffXfermode::SkNEONProcCoeffXfermode(SkReadBuffer& buffer) : INHERITED(buffer) { |
fProcSIMD = reinterpret_cast<void*>(gNEONXfermodeProcs[this->getMode()]); |
} |
+#endif |
void SkNEONProcCoeffXfermode::xfer32(SkPMColor* SK_RESTRICT dst, |
const SkPMColor* SK_RESTRICT src, int count, |