Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index 97ae436367bdd33909e177b8f4245864d7ed0ba9..aa576697e3a8c85779b5864c409af4b22ddcb587 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -1184,9 +1184,7 @@ |
// Outset srcRect and clipRect by 3 * sigma, to compute affected blur area. |
srcRect.outset(sigma3, sigma3); |
clipRect.outset(sigma3, sigma3); |
- if (!srcRect.intersect(clipRect)) { |
- srcRect.setEmpty(); |
- } |
+ srcRect.intersect(clipRect); |
*maskRect = srcRect; |
return true; |
} |