Index: include/gpu/GrTexture.h |
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h |
index 1df9dc6e0d4d1b2bdaf7d6d70302a9331943e9f2..1b9f7b75017adb0190ff9f503baa0ca12e9240cf 100644 |
--- a/include/gpu/GrTexture.h |
+++ b/include/gpu/GrTexture.h |
@@ -55,7 +55,7 @@ public: |
/** |
* Approximate number of bytes used by the texture |
*/ |
- virtual size_t sizeInBytes() const SK_OVERRIDE { |
+ virtual size_t gpuMemorySize() const SK_OVERRIDE { |
return (size_t) fDesc.fWidth * |
fDesc.fHeight * |
GrBytesPerPixel(fDesc.fConfig); |