diff options
author | 2014-11-25 07:30:19 -0800 | |
---|---|---|
committer | 2014-11-25 07:30:19 -0800 | |
commit | 21180e26519a23cc69f4673f0b518395fddac57b (patch) | |
tree | 8e1beb9d8f4e688f117aab18438b408e4bb00b69 /include | |
parent | 6ff4acedb58ab5ef83b8e598637976d592572630 (diff) |
Revert of Blink hasn't rolled yet, better. (patchset #1 id:1 of https://codereview.chromium.org/758693002/)
Reason for revert:
Try again, for real.
Original issue's description:
> Blink hasn't rolled yet, better.
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/89ff0846fd9dacf5f081373746624d450a5f8c26
TBR=mtklein@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/754303004
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkRefCnt.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h index 38b6d34660..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. @@ -273,7 +273,6 @@ public: } } void deref() const { this->unref(); } // Chrome prefers to call deref(). - int32_t getRefCnt() const { return fRefCnt; } private: mutable int32_t fRefCnt; |