Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index 34dde3cabd5743c8235e552f3bb5ef6038ac780a..9ed6d0c0bb1d84713a2ca15693ef2dd19f5adf6a 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -540,8 +540,8 @@ bool SkBlurMaskFilterImpl::canFilterMaskGPU(const SkRect& srcBounds, |
SkRect srcRect(srcBounds); |
// Outset srcRect and clipRect by 3 * sigma, to compute affected blur area. |
- srcRect.outset(SkFloatToScalar(sigma3), SkFloatToScalar(sigma3)); |
- clipRect.outset(SkFloatToScalar(sigma3), SkFloatToScalar(sigma3)); |
+ srcRect.outset(sigma3, sigma3); |
+ clipRect.outset(sigma3, sigma3); |
srcRect.intersect(clipRect); |
*maskRect = srcRect; |
return true; |