aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkBlurMaskFilter.cpp
diff options
context:
space:
mode:
authorGravatar humper <humper@google.com>2014-06-06 11:22:49 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-06 11:22:50 -0700
commit7bf666a00f806f2b4bf76abd8226c9e6640d2ddf (patch)
tree267642912ebe9092eb1437fc232c2fb01155a72f /src/effects/SkBlurMaskFilter.cpp
parentede6cfc0f58495a3c3204f7ea9c937c793f97943 (diff)
fix blur test
BUG=skia: TBR=jvanverth NOTRY=True NOTREECHECKS=True Author: humper@google.com Review URL: https://codereview.chromium.org/323583002
Diffstat (limited to 'src/effects/SkBlurMaskFilter.cpp')
-rw-r--r--src/effects/SkBlurMaskFilter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp
index a1cee8eddf..f9760486d7 100644
--- a/src/effects/SkBlurMaskFilter.cpp
+++ b/src/effects/SkBlurMaskFilter.cpp
@@ -560,7 +560,7 @@ public:
GrTexture *blurProfileTexture = NULL;
int doubleProfileSize = SkScalarCeilToInt(12*sigma);
- if (doubleProfileSize <= rect.width() || doubleProfileSize <= rect.height()) {
+ if (doubleProfileSize >= rect.width() || doubleProfileSize >= rect.height()) {
// if the blur sigma is too large so the gaussian overlaps the whole
// rect in either direction, fall back to CPU path for now.