Index: bench/subset/SubsetZoomBench.cpp |
diff --git a/bench/subset/SubsetZoomBench.cpp b/bench/subset/SubsetZoomBench.cpp |
index 84d50aa478ffd302e2520c11917a5b4df835fd1e..d8abfd767382ff9e863756313fc3fc582e1aaa09 100644 |
--- a/bench/subset/SubsetZoomBench.cpp |
+++ b/bench/subset/SubsetZoomBench.cpp |
@@ -63,7 +63,7 @@ void SubsetZoomBench::onDraw(const int n, SkCanvas* canvas) { |
SkAutoTDelete<SkScanlineDecoder> scanlineDecoder( |
SkScanlineDecoder::NewFromStream(fStream->duplicate())); |
const SkImageInfo info = scanlineDecoder->getInfo().makeColorType(fColorType); |
- SkAutoTDeleteArray<uint8_t> row(SkNEW_ARRAY(uint8_t, info.minRowBytes())); |
+ SkAutoTDeleteArray<uint8_t> row(new uint8_t[info.minRowBytes()]); |
scanlineDecoder->start(info, NULL, colors, &colorCount); |
const int centerX = info.width() / 2; |