Index: include/core/SkRefCnt.h |
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h |
index 66ce066a719df93276d6aeba744dfa2ce4cf6eac..2ac68ddbcdff6c33c4c131fc18a35202af31d2a5 100644 |
--- a/include/core/SkRefCnt.h |
+++ b/include/core/SkRefCnt.h |
@@ -107,7 +107,7 @@ |
private: |
// OK for use in asserts, but not much else. |
- int32_t unsafeGetRefCnt() const { return SK_ANNOTATE_UNPROTECTED_READ(fRefCnt); } |
+ int32_t unsafeGetRefCnt() { return SK_ANNOTATE_UNPROTECTED_READ(fRefCnt); } |
/** |
* Called when the ref count goes to 0. |