Index: include/gpu/GrTextureProvider.h |
diff --git a/include/gpu/GrTextureProvider.h b/include/gpu/GrTextureProvider.h |
index 10b66c0b3cf701cb0cbff9be7367d197dba9f939..3f8c760f9b8c3b29343b8dba324143d1d04942da 100644 |
--- a/include/gpu/GrTextureProvider.h |
+++ b/include/gpu/GrTextureProvider.h |
@@ -160,12 +160,12 @@ |
GrGpu* gpu() { return fGpu; } |
const GrGpu* gpu() const { return fGpu; } |
+private: |
bool isAbandoned() const { |
SkASSERT(SkToBool(fGpu) == SkToBool(fCache)); |
return !SkToBool(fCache); |
} |
-private: |
GrResourceCache* fCache; |
GrGpu* fGpu; |
}; |