diff options
| author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-01 12:42:49 +0000 |
|---|---|---|
| committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-01 12:42:49 +0000 |
| commit | 6c4c3a55541320a7f1d0319a65f60252dbc737eb (patch) | |
| tree | b4ae94c425efc66c63477786be88e9512fed3076 /samplecode/SamplePathUtils.cpp | |
| parent | fa13a632a0dc7eccb4e171e565e9a206064aa6e0 (diff) | |
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
Diffstat (limited to 'samplecode/SamplePathUtils.cpp')
0 files changed, 0 insertions, 0 deletions
