Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Issue 2824013002: Initialize SkImage memory in gpu_image_decode_cache_unittest (Closed)

Created:
3 years, 8 months ago by msarett
Modified:
3 years, 8 months ago
Reviewers:
msarett1, Nico, ccameron
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Initialize 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M cc/tiles/gpu_image_decode_cache_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
msarett1
3 years, 8 months ago (2017-04-17 21:00:58 UTC) #3
ccameron
lgtm, thanks for digging in on this
3 years, 8 months ago (2017-04-17 21:09:07 UTC) #4
Nico
lgtm
3 years, 8 months ago (2017-04-17 21:14:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2824013002/1
3 years, 8 months ago (2017-04-17 21:22:45 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-17 21:28:15 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/ba774d82258e8090c70077ee34fd...

Powered by Google App Engine
This is Rietveld 408576698