aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DMGpuGMTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dm/DMGpuGMTask.cpp')
-rw-r--r--dm/DMGpuGMTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dm/DMGpuGMTask.cpp b/dm/DMGpuGMTask.cpp
index c72f675660..a7b1d7b61f 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)));