diff options
Diffstat (limited to 'src/image/SkImage_Base.h')
-rw-r--r-- | src/image/SkImage_Base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h index 7fbe97deac..09ceb5770a 100644 --- a/src/image/SkImage_Base.h +++ b/src/image/SkImage_Base.h @@ -18,7 +18,7 @@ #include <new> -class GrTextureParams; +class GrSamplerParams; class SkImageCacherator; enum { @@ -55,7 +55,7 @@ public: virtual bool getROPixels(SkBitmap*, CachingHint = kAllow_CachingHint) const = 0; // Caller must call unref when they are done. - virtual GrTexture* asTextureRef(GrContext*, const GrTextureParams&, + virtual GrTexture* asTextureRef(GrContext*, const GrSamplerParams&, SkDestinationSurfaceColorMode) const = 0; virtual sk_sp<SkImage> onMakeSubset(const SkIRect&) const = 0; |