diff options
author | Greg Daniel <egdaniel@google.com> | 2017-11-01 16:38:48 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-02 13:11:31 +0000 |
commit | c77085d2e0a3ff7e908a7164ac6224ea10686739 (patch) | |
tree | ca804bb45e7e257e324cd31a1e2215b93ad0ba07 /src/image/SkImage_Raster.cpp | |
parent | d1b2eec0d0f95977b52669025cb25038618c0335 (diff) |
Remove content area from GrTextureAdjuster.
Bug: skia:
Change-Id: I77854ee22303afe5787bf3094bca2db1a3dcf5ef
Reviewed-on: https://skia-review.googlesource.com/66149
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/image/SkImage_Raster.cpp')
-rw-r--r-- | src/image/SkImage_Raster.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/image/SkImage_Raster.cpp b/src/image/SkImage_Raster.cpp index db91621695..fc9e16743a 100644 --- a/src/image/SkImage_Raster.cpp +++ b/src/image/SkImage_Raster.cpp @@ -186,9 +186,8 @@ sk_sp<GrTextureProxy> SkImage_Raster::asTextureProxyRef(GrContext* context, uint32_t uniqueID; sk_sp<GrTextureProxy> tex = this->refPinnedTextureProxy(&uniqueID); if (tex) { - GrTextureAdjuster adjuster(context, fPinnedProxy, - fBitmap.alphaType(), fBitmap.bounds(), - fPinnedUniqueID, fBitmap.colorSpace()); + GrTextureAdjuster adjuster(context, fPinnedProxy, fBitmap.alphaType(), fPinnedUniqueID, + fBitmap.colorSpace()); return adjuster.refTextureProxySafeForParams(params, scaleAdjust); } |