diff options
author | Matt Sarett <msarett@google.com> | 2017-04-05 17:31:07 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-05 22:08:35 +0000 |
commit | 1a26ba9def4724c9d863532721471e928a6f9cf3 (patch) | |
tree | c8af19a14e7dd1ef8ea8c5be7d45aaf4c8177e45 | |
parent | e87d7781db75a7ec22a103eda0886c2ca8dc4d9d (diff) |
Fix MSAN error in test
Bug: skia:
Change-Id: I27afd02b3383e259101a856630d04566fdf7a994
Reviewed-on: https://skia-review.googlesource.com/11407
Reviewed-by: Matt Sarett <msarett@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>
-rw-r--r-- | tests/BitmapCopyTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/BitmapCopyTest.cpp b/tests/BitmapCopyTest.cpp index 71b9a60655..5936b998c9 100644 --- a/tests/BitmapCopyTest.cpp +++ b/tests/BitmapCopyTest.cpp @@ -659,7 +659,7 @@ DEF_TEST(BitmapReadPixels, reporter) { DEF_TEST(BitmapCopy_ColorSpaceMatch, r) { // We should support matching color spaces, even if they are parametric. SkColorSpaceTransferFn fn; - fn.fA = 1.f; fn.fB = 0.f; fn.fC = 0.f; fn.fD = 0.f; fn.fF = 0.f; fn.fG = 1.8f; + fn.fA = 1.f; fn.fB = 0.f; fn.fC = 0.f; fn.fD = 0.f; fn.fE = 0.f; fn.fF = 0.f; fn.fG = 1.8f; sk_sp<SkColorSpace> cs = SkColorSpace::MakeRGB(fn, SkColorSpace::kRec2020_Gamut); SkImageInfo info = SkImageInfo::MakeN32Premul(1, 1, cs); |