Index: src/gpu/GrRenderTarget.cpp |
diff --git a/src/gpu/GrRenderTarget.cpp b/src/gpu/GrRenderTarget.cpp |
index f18df2cfa6d71b9b2c665438a9dbf243e65c42a0..4dad6cff37616917b4fee8698cdb59063e0ad660 100644 |
--- a/src/gpu/GrRenderTarget.cpp |
+++ b/src/gpu/GrRenderTarget.cpp |
@@ -64,7 +64,7 @@ size_t GrRenderTarget::sizeInBytes() const { |
uint64_t size = fDesc.fWidth; |
size *= fDesc.fHeight; |
size *= colorBits; |
- size *= GrMax(1, fDesc.fSampleCnt); |
+ size *= SkTMax(1, fDesc.fSampleCnt); |
return (size_t)(size / 8); |
} |