skia2/include
scroggo@google.com 665b2cca88 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

Review URL: https://codereview.chromium.org/15002002

git-svn-id: http://skia.googlecode.com/svn/trunk@9018 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-06 18:08:05 +00:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
config Re-enable inst counting in debug builds. 2013-01-15 20:37:04 +00:00
core lockPixels before calling getColorTable. 2013-05-06 18:08:05 +00:00
device/xps Formatting cleanup: remove extra whitespace 2012-01-28 01:45:11 +00:00
effects Adding missing SK_API identifier to class so that it's accessible in debug blink. 2013-04-25 14:54:15 +00:00
gpu Fix GL extension printing on core profiles. 2013-05-02 19:42:54 +00:00
images Test region decoding in skimage, plus fixes. 2013-05-03 20:14:28 +00:00
lazy Improvements/additions to SkImageCache/SkLazyPixelRef. 2013-03-18 21:37:39 +00:00
pathops Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-27 07:02:53 +00:00
pdf Encode images with DCTDecode (JPEG) in PDFs if it makes sense. Fallback to FlateDecode (zip) if it makes sense. Otherewise include uncompressed stream. 2013-04-24 13:01:01 +00:00
pipe Fixes for piping bitmaps with encoded data. 2013-04-30 02:32:41 +00:00
ports Remove unused complex script support from android builds 2013-05-06 14:03:53 +00:00
svg Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
text Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
utils TTC support for DirectWrite. 2013-05-02 14:01:36 +00:00
views Fixing some warnings on Linux 2013-03-07 20:52:59 +00:00
xml Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00