Remove IORefs from GrSurface
Change-Id: Ib52b54acbf91e3993a6791b83c759fa768c3fdd1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/236339
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrGpuResourcePriv.h b/src/gpu/GrGpuResourcePriv.h
index cde8662..fc1e593 100644
--- a/src/gpu/GrGpuResourcePriv.h
+++ b/src/gpu/GrGpuResourcePriv.h
@@ -16,8 +16,6 @@
*/
class GrGpuResource::ResourcePriv {
public:
- SkDEBUGCODE(bool hasPendingIO_debugOnly() const { return fResource->internalHasPendingIO(); })
-
/**
* Sets a unique key for the resource. If the resource was previously cached as scratch it will
* be converted to a uniquely-keyed resource. If the key is invalid then this is equivalent to
@@ -72,7 +70,7 @@
bool isPurgeable() const { return fResource->isPurgeable(); }
- bool hasRefOrPendingIO() const { return fResource->hasRefOrPendingIO(); }
+ bool hasRef() const { return fResource->hasRef(); }
protected:
ResourcePriv(GrGpuResource* resource) : fResource(resource) { }