Index: src/gpu/gl/GrGLRenderTarget.cpp |
diff --git a/src/gpu/gl/GrGLRenderTarget.cpp b/src/gpu/gl/GrGLRenderTarget.cpp |
index 8482ecdc6cf7f53df8e0722495ba49b562349bcb..98813beb2cce1ba03ef574ee9c9939c6370b02a2 100644 |
--- a/src/gpu/gl/GrGLRenderTarget.cpp |
+++ b/src/gpu/gl/GrGLRenderTarget.cpp |
@@ -45,7 +45,7 @@ void GrGLRenderTarget::init(const GrSurfaceDesc& desc, const IDDesc& idDesc) { |
} |
} |
-size_t GrGLRenderTarget::gpuMemorySize() const { |
+size_t GrGLRenderTarget::onGpuMemorySize() const { |
SkASSERT(kUnknown_GrPixelConfig != fDesc.fConfig); |
SkASSERT(!GrPixelConfigIsCompressed(fDesc.fConfig)); |
size_t colorBytes = GrBytesPerPixel(fDesc.fConfig); |