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

Issue 1418913002: Fix uninitialized memory on kIndex8 divisor tests in Gold (Closed)

Created:
5 years, 2 months ago by msarett
Modified:
5 years, 2 months ago
Reviewers:
scroggo
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

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: Committed: https://skia.googlesource.com/skia/+/fa23a9ec4e7540f4e6222f6efadd29c1e711178f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M dm/DMSrcSink.cpp View 3 chunks +15 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 8 (3 generated)
msarett
5 years, 2 months ago (2015-10-21 19:53:16 UTC) #3
scroggo
> The input SkCanvas* is always zero initialized, so let's > only draw pixels to ...
5 years, 2 months ago (2015-10-21 20:08:48 UTC) #4
msarett
On 2015/10/21 20:08:48, scroggo wrote: > > The input SkCanvas* is always zero initialized, so ...
5 years, 2 months ago (2015-10-21 20:17:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418913002/1
5 years, 2 months ago (2015-10-21 20:18:08 UTC) #7
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 20:27:02 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/fa23a9ec4e7540f4e6222f6efadd29c1e711178f

Powered by Google App Engine
This is Rietveld 408576698