Index: src/gpu/GrRenderTarget.cpp |
diff --git a/src/gpu/GrRenderTarget.cpp b/src/gpu/GrRenderTarget.cpp |
index 9348dc16a68aeb60d7779b5c980f28d3db427171..13fc22907511efa8cce4ca904d85718eba57e0a1 100644 |
--- a/src/gpu/GrRenderTarget.cpp |
+++ b/src/gpu/GrRenderTarget.cpp |
@@ -63,7 +63,7 @@ void GrRenderTarget::discard() { |
context->discardRenderTarget(this); |
} |
-size_t GrRenderTarget::sizeInBytes() const { |
+size_t GrRenderTarget::gpuMemorySize() const { |
size_t colorBits; |
if (kUnknown_GrPixelConfig == fDesc.fConfig) { |
colorBits = 32; // don't know, make a guess |