| Index: src/core/SkImageFilterUtils.cpp
|
| diff --git a/src/core/SkImageFilterUtils.cpp b/src/core/SkImageFilterUtils.cpp
|
| index 92fe67e84c05e95452567bf685d6c4236140ade0..204f38d65b9d38aefb1251793662583af88f3c6e 100644
|
| --- a/src/core/SkImageFilterUtils.cpp
|
| +++ b/src/core/SkImageFilterUtils.cpp
|
| @@ -15,12 +15,7 @@
|
| #include "SkGr.h"
|
|
|
| bool SkImageFilterUtils::WrapTexture(GrTexture* texture, int width, int height, SkBitmap* result) {
|
| - SkImageInfo info = {
|
| - width,
|
| - height,
|
| - kPMColor_SkColorType,
|
| - kPremul_SkAlphaType,
|
| - };
|
| + SkImageInfo info = SkImageInfo::MakeN32Premul(width, height);
|
| result->setConfig(info);
|
| result->setPixelRef(SkNEW_ARGS(SkGrPixelRef, (info, texture)))->unref();
|
| return true;
|
|
|