check for null-device pixels in onWritePixels, so we don't crash
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 14 Mar 2014 14:02:58 +0000 (14:02 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 14 Mar 2014 14:02:58 +0000 (14:02 +0000)
commit0d30c51c6cf45b3a08a3000b6d348c16bdec7f05
tree186791fec99f41771f4e23f73562a6b18ae30d71
parent13874c1ad8ddbc93b89d30139586e41fb6b17433
check for null-device pixels in onWritePixels, so we don't crash

https://code.google.com/p/chromium/issues/detail?id=352616

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

git-svn-id: http://skia.googlecode.com/svn/trunk@13802 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/stroketext.cpp
src/core/SkBitmapDevice.cpp