| Index: include/gpu/GrGpuResource.h
|
| diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h
|
| index 61849e7232fd9f23df1219429d7355580a2606ef..f20bad3e9f57580ba416711a337bac071aada82c 100644
|
| --- a/include/gpu/GrGpuResource.h
|
| +++ b/include/gpu/GrGpuResource.h
|
| @@ -80,13 +80,8 @@
|
| #endif
|
| }
|
|
|
| -
|
| protected:
|
| GrIORef() : fRefCnt(1), fPendingReads(0), fPendingWrites(0) {}
|
| -
|
| - bool internalHasPendingRead() const { return SkToBool(fPendingReads); }
|
| - bool internalHasPendingWrite() const { return SkToBool(fPendingWrites); }
|
| - bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); }
|
|
|
| private:
|
| void addPendingRead() const {
|
|
|