Index: src/pipe/utils/SamplePipeControllers.cpp |
diff --git a/src/pipe/utils/SamplePipeControllers.cpp b/src/pipe/utils/SamplePipeControllers.cpp |
index 1e25cb61c40f5890887d046d10ef538d02f9b5d9..ea2c39cff0cb56ae1cfdff640417587fab1b609d 100644 |
--- a/src/pipe/utils/SamplePipeControllers.cpp |
+++ b/src/pipe/utils/SamplePipeControllers.cpp |
@@ -25,7 +25,7 @@ PipeController::~PipeController() { |
void* PipeController::requestBlock(size_t minRequest, size_t *actual) { |
sk_free(fBlock); |
- fBlockSize = minRequest * 4; |
+ fBlockSize = minRequest; |
fBlock = sk_malloc_throw(fBlockSize); |
fBytesWritten = 0; |
*actual = fBlockSize; |