Chromium Code Reviews
DescriptionInitialize SkImage memory in gpu_image_decode_cache_unittest
Skia legacy mips only load-do math-store, so they don't care if the
SkImage is uninitialized.
Skia srgb-correct mips may use a table lookup, so MSAN compains that
the memory is uninitialized.
The original MSAN bug was fixed by using the legacy mips (since that
was what we wanted anyway), but let's initialize the SkImage in the
test anyway. This makes logical sense and will avoid a future bug
in the case that we actually want the srgb-correct mips.
BUG=712298
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2824013002
Cr-Commit-Position: refs/heads/master@{#465025}
Committed: https://chromium.googlesource.com/chromium/src/+/ba774d82258e8090c70077ee34fd32cf888c33e8
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|
|||||||||||||||||||