commit | 1f66e4539177297545270ff3cbd1d8fa6c3481ac | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Tue Oct 21 07:12:52 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Oct 21 07:12:52 2014 -0700 |
tree | de35ac7407e5552f8bc2d817a83f8f0fcde3272a | |
parent | b0e89dcc1d8c1c2f9f7ffb45e8609cdb4a68104b [diff] |
Add an assert that we still have a buffer to readFromBuffer(). sk_free(fBuffer.detach()) means fBuffer will be left as NULL, not a zero-length malloc. BUG=skia: Review URL: https://codereview.chromium.org/669813002