Mark SkPictureRecorder::endRecording as SK_WARN_UNUSED_RESULT.
authorjbroman <jbroman@chromium.org>
Thu, 9 Apr 2015 13:12:17 +0000 (06:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Apr 2015 13:12:17 +0000 (06:12 -0700)
commit7d1b945da6afdfb50372fd7b69153710d7793a52
tree460bf8a935abe42388136b5518144c87d25db690
parentd9f8862ab6bed4195cbfe5dda48693e1062b01e2
Mark SkPictureRecorder::endRecording as SK_WARN_UNUSED_RESULT.

Ignoring the result is a memory leak.
Callers should always at least unref the result.

This bug has occurred in Blink:
  https://codereview.chromium.org/1068413002/

BUG=skia:3680

Review URL: https://codereview.chromium.org/1072633002
include/core/SkPictureRecorder.h