aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-07-09 07:52:32 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-09 07:52:32 -0700
commitbd7746da97e389c1068333117407b213b378f9db (patch)
tree46c0f9612d9802bd49b68ac37e73a8f1638bcd4c /gm
parentecce60bad6e3b7a72e1eba820bc3be15d39a1c21 (diff)
Remove ability for Release code to call getRefCnt() or getWeakRefCnt().
These getRefCnt() methods are not thread safe, so Skia code should not be calling them. unique() is fine. SkDEBUG code (SkASSERTs) can still call getRefCnt() / getWeakRefCnt(). This adds tools/RefCntIs.{h,cpp}, which lets tests make their assertions in both debug and release modes. BUG=skia:2726 Committed: https://skia.googlesource.com/skia/+/4ae94ffce5ecf1b71cb5e295b68bf4ec9e697443 R=senorblanco@chromium.org, mtklein@google.com, reed@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/378643003
Diffstat (limited to 'gm')
0 files changed, 0 insertions, 0 deletions