"Fix" some ImageFilter fuzzer issues
authorRobert Phillips <robertphillips@google.com>
Mon, 19 Dec 2016 16:37:37 +0000 (11:37 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 19 Dec 2016 17:14:10 +0000 (17:14 +0000)
commit98624d249d279f68127c76754d542ab5cd0f8eab
tree86e5e534316aed3dd95001b32180f0df72e23ffd
parentefa9d34ccbdeb541a1fa77a678552df7a08531be
"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>
gm/drawfilter.cpp
include/core/SkClipOp.h
include/effects/SkBlurMaskFilter.h
src/core/SkPictureFlat.h
src/core/SkPicturePlayback.cpp
src/effects/Sk1DPathEffect.cpp
src/effects/SkBlurMaskFilter.cpp
tests/BlurTest.cpp