commit | d51ce44d18cb28df568f817b05478d24ef21c1a7 | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Thu Oct 02 13:39:00 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Oct 02 13:39:00 2014 -0700 |
tree | 4fd700753c1da90099b69c2632739a9cdbd2234a | |
parent | 38c05871c66292b1db7a98a67df7ee7cfd12bca3 [diff] |
Handle getMemoryBase returning NULL in WriteTask. DM::WriteTask::fData was changed from a data to a stream in "SkData to SkStreamAsset to avoid unneeded copying" https://skia.googlesource.com/skia/+/a4c6094177ebde18c706cbcfbd2013d0a088e0ee However, DM::WriteTask::draw was not updated to handle this, resulting in segfaults when trying to write out PDF files. Review URL: https://codereview.chromium.org/627473002