Index: src/opts/SkBlurImage_opts_neon.cpp |
diff --git a/src/opts/SkBlurImage_opts_neon.cpp b/src/opts/SkBlurImage_opts_neon.cpp |
index 08187f3e55e2f4883f8249f7e36b6c165a65a3d5..760980e36fd0da545f29ceee590153ef6079d871 100644 |
--- a/src/opts/SkBlurImage_opts_neon.cpp |
+++ b/src/opts/SkBlurImage_opts_neon.cpp |
@@ -123,7 +123,7 @@ void SkBoxBlur_NEON(const SkPMColor* src, int srcStride, SkPMColor* dst, int ker |
const uint32x4_t scale = vdupq_n_u32((1 << 24) / kernelSize); |
const uint32x4_t half = vdupq_n_u32(1 << 23); |
- if (kernelSize < 128) |
+ if (1 < kernelSize && kernelSize < 128) |
{ |
SkDoubleRowBoxBlur_NEON<srcDirection, dstDirection>(&src, srcStride, &dst, kernelSize, |
leftOffset, rightOffset, width, &height); |