commit | fa23a9ec4e7540f4e6222f6efadd29c1e711178f | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Wed Oct 21 13:26:59 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Oct 21 13:26:59 2015 -0700 |
tree | 236142c498cfe0ab0eb2b03af6ad3d1268a3b4f5 | |
parent | 4d5de045598e84d16a61f5f767a9616c7f56a481 [diff] |
Fix uninitialized memory on kIndex8 divisor tests in Gold Turns out bitmap.eraseColor() does nothing if the bitmap is kIndex8. We need a more reliable way to initialize all of the pixels that we look at in Gold. The input SkCanvas* is always zero initialized, so let's only draw pixels to the canvas if we have initialized them. BUG=skia: Review URL: https://codereview.chromium.org/1418913002