| Index: src/core/SkSpecialSurface.h
|
| diff --git a/src/core/SkSpecialSurface.h b/src/core/SkSpecialSurface.h
|
| index 6ed8a77da56ca079934058b0065e56a1e958360f..2135347e35a5ff4cabb8e38f74502d231d08d6fe 100644
|
| --- a/src/core/SkSpecialSurface.h
|
| +++ b/src/core/SkSpecialSurface.h
|
| @@ -50,10 +50,11 @@ public:
|
| */
|
| sk_sp<SkSpecialImage> makeImageSnapshot();
|
|
|
| +#if SK_SUPPORT_GPU
|
| /**
|
| * Use an existing (renderTarget-capable) GrTexture as the backing store.
|
| */
|
| - static sk_sp<SkSpecialSurface> MakeFromTexture(const SkIRect& subset, GrTexture*,
|
| + static sk_sp<SkSpecialSurface> MakeFromTexture(const SkIRect& subset, sk_sp<GrTexture>,
|
| const SkSurfaceProps* = nullptr);
|
|
|
| /**
|
| @@ -62,6 +63,7 @@ public:
|
| */
|
| static sk_sp<SkSpecialSurface> MakeRenderTarget(GrContext*, const GrSurfaceDesc&,
|
| const SkSurfaceProps* = nullptr);
|
| +#endif
|
|
|
| /**
|
| * Use and existing SkBitmap as the backing store.
|
|
|