diff options
Diffstat (limited to 'src/gpu/GrTextureAdjuster.h')
-rw-r--r-- | src/gpu/GrTextureAdjuster.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gpu/GrTextureAdjuster.h b/src/gpu/GrTextureAdjuster.h index ca5b0e90c7..a0ce8c40db 100644 --- a/src/gpu/GrTextureAdjuster.h +++ b/src/gpu/GrTextureAdjuster.h @@ -35,8 +35,8 @@ public: // We do not ref the texture nor the colorspace, so the caller must keep them in scope while // this Adjuster is alive. - GrTextureAdjuster(GrContext*, sk_sp<GrTextureProxy>, SkAlphaType, const SkIRect& area, - uint32_t uniqueID, SkColorSpace*); + GrTextureAdjuster(GrContext*, sk_sp<GrTextureProxy>, SkAlphaType, uint32_t uniqueID, + SkColorSpace*); protected: SkAlphaType alphaType() const override { return fAlphaType; } @@ -47,11 +47,7 @@ protected: GrTextureProxy* originalProxy() const { return fOriginal.get(); } sk_sp<GrTextureProxy> originalProxyRef() const { return fOriginal; } - /** Returns the content area or null for the whole original texture */ - const SkIRect* contentAreaOrNull() { return fContentArea.getMaybeNull(); } - private: - SkTLazy<SkIRect> fContentArea; GrContext* fContext; sk_sp<GrTextureProxy> fOriginal; SkAlphaType fAlphaType; |