DescriptionFixes for nacl_debugger's use of picture.
Now that CreateFromStream is used, check for NULL rather than
looking at width and height (prevents a crash on an invalid SKP).
Unref the picture when done with it.
Remove the member variable for picture, since it is only accessed
inside the one function.
R=borenet@google.com
Committed: https://code.google.com/p/skia/source/detail?r=9831
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|