commit | f9dc91871cd627d01a83b5fa7d82bcd946c503ff | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 16 15:15:58 2013 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 16 15:15:58 2013 +0000 |
tree | 0a13ffc7ddaaeeb4a2a5bfb8697558ca5619a512 | |
parent | 0a3dbb59794253ccadc189ad3572f258f667a423 [diff] |
Add hooks for external run-time reference adoption checks to SkRefCnt. The reference adoption checks are to help detect memory leaks and bad usage when using SkRefCnt subclasses with Blink's RefPtr. BUG=crbug.com/304265 R=reed@google.com, bungeman@google.com Author: junov@chromium.org Review URL: https://codereview.chromium.org/25432003 git-svn-id: http://skia.googlecode.com/svn/trunk/include@11811 2bbb7eff-a529-9590-31e7-b0007b416f81