skia2/platform_tools
scroggo@google.com 6c4c3a5554 Fixes 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

Review URL: https://codereview.chromium.org/18055014

git-svn-id: http://skia.googlecode.com/svn/trunk@9831 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-01 12:42:49 +00:00
..
android Add MD5 support when syncing debug files and option to just start gdbserver 2013-06-27 13:43:04 +00:00
chromeos Disable Goma for ChromeOS build 2013-06-25 19:26:11 +00:00
nacl Fixes for nacl_debugger's use of picture. 2013-07-01 12:42:49 +00:00