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