commit | 35ef567140e42f354be4a98cce6a7666ac085c13 | [log] [tgz] |
---|---|---|
author | Michal Stawinski <michal.stawinski@sonymobile.com> | Sun Jul 08 12:25:45 2012 +0200 |
committer | Johan Redestig <johan.redestig@sonymobile.com> | Wed Aug 29 15:54:01 2012 +0200 |
tree | 9b13028068290e1e4212e832cebc990f95624fc8 | |
parent | ad955fe87f44b43dbb2842fdcbe4e62900b5a07f [diff] |
Fix SkBitmap::fPixels not being locked correctly In some cases bitmap's pixels where freed during encoding, which caused a null pointer dereference. This fix makes sure that underlaying buffer is locked for the whole process of compression. Change-Id: I0ac56821f5d333072271dc2670fa30f1562adfa3