diff options
author | robertphillips <robertphillips@google.com> | 2016-05-12 10:46:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-12 10:46:40 -0700 |
commit | 3806b8fb7ffe757cf42f13024dbaf9f24856ccd3 (patch) | |
tree | c87790bb4bfab27b0ea9c2134e730dd2b4610d24 /gm/pictureimagefilter.cpp | |
parent | be463bba2ea4c33bac9267102d8865ac2ca6a391 (diff) |
Fix bug & add code to catch ImageFilter clearing bugs
Follow on to https://codereview.chromium.org/1969193002/ (SkPictureImageFilter - clear local canvas before use)
BUG=610667
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1972213002
Review-Url: https://codereview.chromium.org/1972213002
Diffstat (limited to 'gm/pictureimagefilter.cpp')
-rw-r--r-- | gm/pictureimagefilter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gm/pictureimagefilter.cpp b/gm/pictureimagefilter.cpp index 30586b3dbe..244ed87afd 100644 --- a/gm/pictureimagefilter.cpp +++ b/gm/pictureimagefilter.cpp @@ -26,7 +26,6 @@ static void fill_rect_filtered(SkCanvas* canvas, static sk_sp<SkPicture> make_picture() { SkPictureRecorder recorder; SkCanvas* canvas = recorder.beginRecording(100, 100, nullptr, 0); - canvas->clear(SK_ColorBLACK); SkPaint paint; paint.setAntiAlias(true); sk_tool_utils::set_portable_typeface(&paint); |