Index: dm/DMBenchTask.cpp |
diff --git a/dm/DMBenchTask.cpp b/dm/DMBenchTask.cpp |
index bcedb96f25e43b0d6854e9c1972ac2eda3f23bed..917e8612743c95f00cfe8e2188c8997a3c22f1ef 100644 |
--- a/dm/DMBenchTask.cpp |
+++ b/dm/DMBenchTask.cpp |
@@ -54,7 +54,7 @@ bool GpuBenchTask::shouldSkip() const { |
static void draw_raster(SkBenchmark* bench, SkColorType colorType) { |
SkBitmap bitmap; |
- SetupBitmap(colorType, bench, &bitmap); |
+ AllocatePixels(colorType, bench->getSize().x(), bench->getSize().y(), &bitmap); |
SkCanvas canvas(bitmap); |
bench->preDraw(); |