Index: src/gpu/GrAllocator.h |
diff --git a/src/gpu/GrAllocator.h b/src/gpu/GrAllocator.h |
index f2afec8e46787724d3bf53d561d1cd3191925b71..4e47fb16076b8edfebf0b229b6fe05578a319a05 100644 |
--- a/src/gpu/GrAllocator.h |
+++ b/src/gpu/GrAllocator.h |
@@ -80,7 +80,7 @@ public: |
* removes all added items |
*/ |
void reset() { |
- int blockCount = GrMax((unsigned)1, |
+ int blockCount = SkTMax((unsigned)1, |
GrUIDivRoundUp(fCount, fItemsPerBlock)); |
for (int i = 1; i < blockCount; ++i) { |
sk_free(fBlocks[i]); |