Index: src/gpu/gl/GrGLStencilBuffer.cpp |
diff --git a/src/gpu/gl/GrGLStencilBuffer.cpp b/src/gpu/gl/GrGLStencilBuffer.cpp |
index d9322c26dbd9763ed6ca552d202c849ee7f5180d..33e346c617305e18d2f301f73408d39b2638b735 100644 |
--- a/src/gpu/gl/GrGLStencilBuffer.cpp |
+++ b/src/gpu/gl/GrGLStencilBuffer.cpp |
@@ -17,7 +17,7 @@ size_t GrGLStencilBuffer::sizeInBytes() const { |
uint64_t size = this->width(); |
size *= this->height(); |
size *= fFormat.fTotalBits; |
- size *= GrMax(1,this->numSamples()); |
+ size *= SkTMax(1,this->numSamples()); |
return static_cast<size_t>(size / 8); |
} |