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

Issue 15002002: lockPixels before calling getColorTable. (Closed)

Created:
7 years, 7 months ago by scroggo
Modified:
7 years, 7 months ago
Reviewers:
edisonn, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

lockPixels before calling getColorTable. Fixes a bug where we try to dereference a NULL pointer. Update the comment for SkBitmap::getColorTable, telling the client that pixels must be locked for it to return non-NULL. R=edisonn@google.com Committed: https://code.google.com/p/skia/source/detail?r=9018

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M include/core/SkBitmap.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/pdf/SkPDFImage.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
scroggo
7 years, 7 months ago (2013-05-06 17:58:28 UTC) #1
edisonn
LGTM Thanks!
7 years, 7 months ago (2013-05-06 18:05:09 UTC) #2
scroggo
7 years, 7 months ago (2013-05-06 18:08:09 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r9018 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698