| Index: src/image/SkImage_Gpu.cpp
|
| diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp
|
| index a1f032f6a155b69db15ef8acebed87c462b99bed..5e687b751af60131bc83cda075b7c830a124f815 100644
|
| --- a/src/image/SkImage_Gpu.cpp
|
| +++ b/src/image/SkImage_Gpu.cpp
|
| @@ -111,8 +111,7 @@
|
| bool SkImage_Gpu::onReadPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
|
| int srcX, int srcY, CachingHint) const {
|
| GrPixelConfig config = SkImageInfo2GrPixelConfig(info.colorType(), info.alphaType(),
|
| - info.profileType(),
|
| - *fTexture->getContext()->caps());
|
| + info.profileType());
|
| uint32_t flags = 0;
|
| if (kUnpremul_SkAlphaType == info.alphaType() && kPremul_SkAlphaType == fAlphaType) {
|
| // let the GPU perform this transformation for us
|
|
|