| Index: dm/DMSKPTask.cpp
|
| diff --git a/dm/DMSKPTask.cpp b/dm/DMSKPTask.cpp
|
| index 53f8408b99efa9edeeca768cfb4373325408e42f..04c4184846e00fe1e84c5bb93c190c92a57785b5 100644
|
| --- a/dm/DMSKPTask.cpp
|
| +++ b/dm/DMSKPTask.cpp
|
| @@ -19,7 +19,7 @@ SKPTask::SKPTask(Reporter* r, TaskRunner* tr, SkPicture* pic, SkString filename)
|
|
|
| void SKPTask::draw() {
|
| SkBitmap bitmap;
|
| - SetupBitmap(kN32_SkColorType, *fPicture, &bitmap);
|
| + AllocatePixels(kN32_SkColorType, fPicture->width(), fPicture->height(), &bitmap);
|
| DrawPicture(fPicture, &bitmap);
|
|
|
| this->spawnChild(SkNEW_ARGS(RecordTask,
|
|
|