DescriptionAllow creating a picture from skp to fail.
Replace the current constructor for creating an
SkPicturePlayback to a factory. In the factory,
check for incorrect data that would result in an invalid
playback. If the playback is invalid, return NULL, and
return NULL from SkPicture's factory as well.
Update SkTimedPicture(Playback) as well.
BUG=skia:1672
R=caryclark@google.com
Committed: https://code.google.com/p/skia/source/detail?r=11554
Patch Set 1 #
Total comments: 2
Patch Set 2 : Interesting bit - return false on error. #
Total comments: 4
Patch Set 3 : Use a factory #Patch Set 4 : Fix a typo #Patch Set 5 : Fix debugger. #
Messages
Total messages: 9 (0 generated)
|