Index: src/utils/SkDeferredCanvas.cpp |
=================================================================== |
--- src/utils/SkDeferredCanvas.cpp (revision 11758) |
+++ src/utils/SkDeferredCanvas.cpp (working copy) |
@@ -106,7 +106,7 @@ |
PipeBlock previousBloc(fBlock, fBytesWritten); |
fBlockList.push(previousBloc); |
} |
- int32_t blockSize = SkMax32(minRequest, kMinBlockSize); |
+ size_t blockSize = SkTMax<size_t>(minRequest, kMinBlockSize); |
fBlock = fAllocator.allocThrow(blockSize); |
fBytesWritten = 0; |
*actual = blockSize; |