Index: src/gpu/GrGpuResourceCacheAccess.h |
diff --git a/src/gpu/GrGpuResourceCacheAccess.h b/src/gpu/GrGpuResourceCacheAccess.h |
index 3c3786d05359086954c0e23c6cc478b58987c208..7d20fff4732eb687fe87bc423c8aa5c2d0427496 100644 |
--- a/src/gpu/GrGpuResourceCacheAccess.h |
+++ b/src/gpu/GrGpuResourceCacheAccess.h |
@@ -54,6 +54,8 @@ public: |
return NULL; |
} |
+ bool isWrapped() const { return fResource->isWrapped(); } |
+ |
/** |
* Called by the cache to delete the resource under normal circumstances. |
*/ |