Only print error message in debug mode.
authorscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 28 Feb 2013 15:50:13 +0000 (15:50 +0000)
committerscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 28 Feb 2013 15:50:13 +0000 (15:50 +0000)
commit826b41525b5d4e67c7777b41da1435f921a47cde
treeccd08e2ed8dc5b7aa51fa6a8268cdef7c5082a1d
parent5bd26d32ab85d09dccabbdc6dd944ef36ac32423
Only print error message in debug mode.

Currently, PictureTest runs a test of recording a bad bitmap to a
picture and then replaying the picture. We assert at the record
step in debug mode, so the test only runs in release, to ensure that
we can still play back a picture, even if it has a bad bitmap. Silence
the error message in release, so our test doesn't appear to error
(since it is actually working as desired).

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

git-svn-id: http://skia.googlecode.com/svn/trunk@7897 2bbb7eff-a529-9590-31e7-b0007b416f81
src/core/SkPicturePlayback.h