| Index: src/gpu/GrTextureParamsAdjuster.cpp
|
| diff --git a/src/gpu/GrTextureParamsAdjuster.cpp b/src/gpu/GrTextureParamsAdjuster.cpp
|
| index 2aedad57ef249797bafd3569029d6f2e271862f5..336ab6b10c4a8f37d9bf96763be57f7144e6c3c7 100644
|
| --- a/src/gpu/GrTextureParamsAdjuster.cpp
|
| +++ b/src/gpu/GrTextureParamsAdjuster.cpp
|
| @@ -121,8 +121,10 @@ static GrTexture* copy_on_gpu(GrTexture* inputTexture, const SkIRect* subset,
|
| return copy.detach();
|
| }
|
|
|
| -GrTextureAdjuster::GrTextureAdjuster(GrTexture* original, const SkIRect& contentArea)
|
| - : INHERITED(contentArea.width(), contentArea.height())
|
| +GrTextureAdjuster::GrTextureAdjuster(GrTexture* original,
|
| + const SkIRect& contentArea,
|
| + bool isAlphaOnly)
|
| + : INHERITED(contentArea.width(), contentArea.height(), isAlphaOnly)
|
| , fOriginal(original) {
|
| SkASSERT(SkIRect::MakeWH(original->width(), original->height()).contains(contentArea));
|
| if (contentArea.fLeft > 0 || contentArea.fTop > 0 ||
|
|
|