Index: include/gpu/GrTexture.h |
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h |
index 87f0d5ab0a893826a7500f2b3777d49c57c14114..4989a5e8a0bbb265fd31324d13ff800f327afe42 100644 |
--- a/include/gpu/GrTexture.h |
+++ b/include/gpu/GrTexture.h |
@@ -19,11 +19,6 @@ class GrTexturePriv; |
class GrTexture : virtual public GrSurface { |
public: |
- /** |
- * Approximate number of bytes used by the texture |
- */ |
- virtual size_t gpuMemorySize() const SK_OVERRIDE; |
- |
virtual GrTexture* asTexture() SK_OVERRIDE { return this; } |
virtual const GrTexture* asTexture() const SK_OVERRIDE { return this; } |
@@ -56,6 +51,7 @@ protected: |
void validateDesc() const; |
private: |
+ virtual size_t onGpuMemorySize() const SK_OVERRIDE; |
void dirtyMipMaps(bool mipMapsDirty); |
enum MipMapsStatus { |