DescriptionPrevent crash in Lua bindings.
SkPaint::getTypeface() can return NULL; paint:getTypeface() would
attempt to refcount that value before storing it on the Lua stack
and crash. This is a minimal workaround that fixes the crash.
R=reed@google.com
Committed: http://code.google.com/p/skia/source/detail?r=12706
Patch Set 1 #Patch Set 2 : #
Total comments: 1
Patch Set 3 : #Messages
Total messages: 7 (0 generated)
|