Index: src/effects/SkBlurDrawLooper.cpp |
diff --git a/src/effects/SkBlurDrawLooper.cpp b/src/effects/SkBlurDrawLooper.cpp |
index 2caa62e5ad39a3a531f284c0a29fbe1205d87ded..5cfb8d884da543e239619c32926eabc9fa7839f7 100644 |
--- a/src/effects/SkBlurDrawLooper.cpp |
+++ b/src/effects/SkBlurDrawLooper.cpp |
@@ -17,10 +17,12 @@ |
#include "SkString.h" |
#include "SkStringUtils.h" |
+#ifdef SK_SUPPORT_LEGACY_BLURDRAWLOOPERCONSTRUCTORS |
SkBlurDrawLooper::SkBlurDrawLooper(SkScalar radius, SkScalar dx, SkScalar dy, |
SkColor color, uint32_t flags) { |
this->init(SkBlurMask::ConvertRadiusToSigma(radius), dx, dy, color, flags); |
} |
+#endif |
SkBlurDrawLooper::SkBlurDrawLooper(SkColor color, SkScalar sigma, |
SkScalar dx, SkScalar dy, uint32_t flags) { |