Index: src/gpu/gl/GrGLStencilBuffer.cpp |
diff --git a/src/gpu/gl/GrGLStencilBuffer.cpp b/src/gpu/gl/GrGLStencilBuffer.cpp |
index 33e346c617305e18d2f301f73408d39b2638b735..abcb3c4ba01c75c784b03bb9933cbe6d80978993 100644 |
--- a/src/gpu/gl/GrGLStencilBuffer.cpp |
+++ b/src/gpu/gl/GrGLStencilBuffer.cpp |
@@ -13,7 +13,7 @@ GrGLStencilBuffer::~GrGLStencilBuffer() { |
this->release(); |
} |
-size_t GrGLStencilBuffer::sizeInBytes() const { |
+size_t GrGLStencilBuffer::gpuMemorySize() const { |
uint64_t size = this->width(); |
size *= this->height(); |
size *= fFormat.fTotalBits; |