Index: dm/DMGpuGMTask.cpp |
diff --git a/dm/DMGpuGMTask.cpp b/dm/DMGpuGMTask.cpp |
index a7b1d7b61f258d43eab1b95e6ec2a02cde4cf3de..c72f6756609864a6649f2f4474fde72c02d57af1 100644 |
--- a/dm/DMGpuGMTask.cpp |
+++ b/dm/DMGpuGMTask.cpp |
@@ -37,7 +37,7 @@ |
canvas->flush(); |
SkBitmap bitmap; |
- bitmap.setInfo(info); |
+ bitmap.setConfig(info); |
canvas->readPixels(&bitmap, 0, 0); |
this->spawnChild(SkNEW_ARGS(ExpectationsTask, (*this, fExpectations, bitmap))); |