DescriptionA null CGImageRef should be treated as a "null" SkBitmap,
one in which isNull() returns true.
This assertion was being tripped as a result of some
recent changes I made to expose a CGImageRef as the basis
or a WebKit::WebImage. I think it makes sense to put
this null check in CGImageToSkBitmap instead of at each
callsite.
TEST=covered by mac ui tests
BUG=none
TBR=mark
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19900
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|