aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2015-09-15 06:56:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-15 06:56:23 -0700
commit23cb88c52cd8bb7a0de80e2c85280375425c5189 (patch)
treecf6cd557cabe23a5af4133a12eeca4c48c0de199 /tests
parent935121bd41a09552394ebbab43408e2b0c1ec8f7 (diff)
Speculative fix for uninitialized bitmap mem in ImageFilterTest
TBR=reed@google.com Review URL: https://codereview.chromium.org/1341923003
Diffstat (limited to 'tests')
-rw-r--r--tests/ImageFilterTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp
index 8444bd38c3..167072975f 100644
--- a/tests/ImageFilterTest.cpp
+++ b/tests/ImageFilterTest.cpp
@@ -1229,6 +1229,7 @@ DEF_TEST(ImageFilterImageSourceSerialization, reporter) {
SkBitmap bm;
bm.allocN32Pixels(10, 10);
+ bm.eraseColor(SK_ColorBLUE);
SkPaint paint;
paint.setColor(SK_ColorRED);
paint.setImageFilter(unflattenedFilter);