Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Issue 196223013: check for null-device pixels in onWritePixels, so we don't crash (Closed)

Created:
6 years, 9 months ago by reed1
Modified:
6 years, 9 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

check for null-device pixels in onWritePixels, so we don't crash https://code.google.com/p/chromium/issues/detail?id=352616 Committed: https://code.google.com/p/skia/source/detail?r=13802

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M gm/stroketext.cpp View 2 chunks +16 lines, -0 lines 1 comment Download
M src/core/SkBitmapDevice.cpp View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
reed1
6 years, 9 months ago (2014-03-14 14:02:19 UTC) #1
reed1
Committed patchset #1 manually as r13802.
6 years, 9 months ago (2014-03-14 14:03:03 UTC) #2
bsalomon
6 years, 9 months ago (2014-03-14 14:03:45 UTC) #3
Message was sent while issue was closed.
lgtm

https://codereview.chromium.org/196223013/diff/1/gm/stroketext.cpp
File gm/stroketext.cpp (right):

https://codereview.chromium.org/196223013/diff/1/gm/stroketext.cpp#newcode11
gm/stroketext.cpp:11: static void test_nulldev(SkCanvas* canvas) {
should this be in a unit test?

Powered by Google App Engine
This is Rietveld 408576698