aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@google.com>2014-11-24 14:28:55 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-24 14:28:55 -0800
commita2a5cd440515c485ee5939640be9fc2fba403766 (patch)
treed71c52b2cad8ce57c440f2e2e75d4fe3c5d6a2a2
parent3c850c561fcad1ac35bff4ec2875a40ef2309148 (diff)
Revert of Blink hasn't rolled yet. (patchset #1 id:1 of https://codereview.chromium.org/754133002/)
Reason for revert: Not thorough enough. Original issue's description: > Blink hasn't rolled yet. > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/fa14113d0563686af9f7e2d8e041dd7bf538cfa2 TBR=mtklein@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/752303002
-rw-r--r--include/core/SkRefCnt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h
index c718987b51..5d394f0c2a 100644
--- a/include/core/SkRefCnt.h
+++ b/include/core/SkRefCnt.h
@@ -42,10 +42,10 @@ public:
#endif
}
-//#ifdef SK_DEBUG
+#ifdef SK_DEBUG
/** Return the reference count. Use only for debugging. */
int32_t getRefCnt() const { return fRefCnt; }
-//#endif
+#endif
/** May return true if the caller is the only owner.
* Ensures that all previous owner's actions are complete.