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>
This commit is contained in:
parent
e22a6a29e2
commit
745337aec1
@ -185,14 +185,7 @@ protected:
|
|||||||
void android_only_reset(const SkImageInfo&, size_t rowBytes, sk_sp<SkColorTable>);
|
void android_only_reset(const SkImageInfo&, size_t rowBytes, sk_sp<SkColorTable>);
|
||||||
#endif
|
#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:
|
private:
|
||||||
mutable SkMutex fMutex;
|
|
||||||
|
|
||||||
// mostly const. fInfo.fAlpahType can be changed at runtime.
|
// mostly const. fInfo.fAlpahType can be changed at runtime.
|
||||||
const SkImageInfo fInfo;
|
const SkImageInfo fInfo;
|
||||||
sk_sp<SkColorTable> fCTable; // duplicated in LockRec, will unify later
|
sk_sp<SkColorTable> fCTable; // duplicated in LockRec, will unify later
|
||||||
|
Loading…
Reference in New Issue
Block a user