diff options
author | 2017-04-15 22:08:14 -0400 | |
---|---|---|
committer | 2017-04-16 02:39:36 +0000 | |
commit | 745337aec10a2075b4c3af40b73b8f33b9bd52c2 (patch) | |
tree | 744dd9e957716af919b88e12de46c09cc619965c /include | |
parent | e22a6a29e2e5664ee907f1abccf615a900cbcfad (diff) |
remove unused mutex from pixelref
Bug: skia:6481
Change-Id: I4f2696b947c735157a38bc0810f3cebbb18c9d77
Reviewed-on: https://skia-review.googlesource.com/13581
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPixelRef.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h index 3a3d8b58a5..0e66f25d31 100644 --- a/include/core/SkPixelRef.h +++ b/include/core/SkPixelRef.h @@ -185,14 +185,7 @@ protected: void android_only_reset(const SkImageInfo&, size_t rowBytes, sk_sp<SkColorTable>); #endif - /** Return the mutex associated with this pixelref. This value is assigned - in the constructor, and cannot change during the lifetime of the object. - */ - SkBaseMutex* mutex() const { return &fMutex; } - private: - mutable SkMutex fMutex; - // mostly const. fInfo.fAlpahType can be changed at runtime. const SkImageInfo fInfo; sk_sp<SkColorTable> fCTable; // duplicated in LockRec, will unify later |