aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2016-12-19 11:37:37 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-19 17:14:10 +0000
commit98624d249d279f68127c76754d542ab5cd0f8eab (patch)
tree86e5e534316aed3dd95001b32180f0df72e23ffd /include/effects
parentefa9d34ccbdeb541a1fa77a678552df7a08531be (diff)
"Fix" some ImageFilter fuzzer issues
SkClipOp.h & SkPictureFlat.h Invalid SkClipOps were getting through - the question here is where (for a class enum) is a good place to put the k*Mask definition. SkPath1DPathEffect NaNs were getting past. SkBlurMaskFilter Assert wasn't necessary since we whacked the flag on the next line. Change-Id: I87f95ad39f4760284f881d7c4500eb82fcdba282 Reviewed-on: https://skia-review.googlesource.com/6194 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Herb Derby <herb@google.com>
Diffstat (limited to 'include/effects')
-rw-r--r--include/effects/SkBlurMaskFilter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/effects/SkBlurMaskFilter.h b/include/effects/SkBlurMaskFilter.h
index 4106b015ec..8b032e50ee 100644
--- a/include/effects/SkBlurMaskFilter.h
+++ b/include/effects/SkBlurMaskFilter.h
@@ -22,13 +22,13 @@ public:
static SkScalar ConvertRadiusToSigma(SkScalar radius);
enum BlurFlags {
- kNone_BlurFlag = 0x00,
+ kNone_BlurFlag = 0x00,
/** The blur layer's radius is not affected by transforms */
kIgnoreTransform_BlurFlag = 0x01,
/** Use a smother, higher qulity blur algorithm */
kHighQuality_BlurFlag = 0x02,
/** mask for all blur flags */
- kAll_BlurFlag = 0x03
+ kAll_BlurFlag = 0x03
};
/** Create a blur maskfilter.