Index: src/opts/opts_check_x86.cpp |
diff --git a/src/opts/opts_check_x86.cpp b/src/opts/opts_check_x86.cpp |
index cdefec2eac9a39bab065ef1762aeafa7c138a43c..2597a2b91714c3a1c6e758c1a701767d3327c0e7 100644 |
--- a/src/opts/opts_check_x86.cpp |
+++ b/src/opts/opts_check_x86.cpp |
@@ -350,20 +350,15 @@ SkMorphologyImageFilter::Proc SkMorphologyGetPlatformProc(SkMorphologyProcType t |
//////////////////////////////////////////////////////////////////////////////// |
bool SkBoxBlurGetPlatformProcs(SkBoxBlurProc* boxBlurX, |
- SkBoxBlurProc* boxBlurY, |
SkBoxBlurProc* boxBlurXY, |
SkBoxBlurProc* boxBlurYX) { |
-#ifdef SK_DISABLE_BLUR_DIVISION_OPTIMIZATION |
- return false; |
-#else |
if (supports_simd(SK_CPU_SSE_LEVEL_SSE41)) { |
- return SkBoxBlurGetPlatformProcs_SSE4(boxBlurX, boxBlurY, boxBlurXY, boxBlurYX); |
+ return SkBoxBlurGetPlatformProcs_SSE4(boxBlurX, boxBlurXY, boxBlurYX); |
} |
else if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { |
- return SkBoxBlurGetPlatformProcs_SSE2(boxBlurX, boxBlurY, boxBlurXY, boxBlurYX); |
+ return SkBoxBlurGetPlatformProcs_SSE2(boxBlurX, boxBlurXY, boxBlurYX); |
} |
return false; |
-#endif |
} |
//////////////////////////////////////////////////////////////////////////////// |