diff options
Diffstat (limited to 'src/image/SkImage.cpp')
-rw-r--r-- | src/image/SkImage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp index 4f8fe74d30..6c586c4466 100644 --- a/src/image/SkImage.cpp +++ b/src/image/SkImage.cpp @@ -189,10 +189,12 @@ bool SkImage::isTextureBacked() const { return false; } GrBackendObject SkImage::getTextureHandle(bool, GrSurfaceOrigin*) const { return 0; } +#if GR_TEST_UTILS GrBackendTexture SkImage::getBackendTexture(bool flushPendingGrContextIO, GrSurfaceOrigin* origin) const { return GrBackendTexture(); // invalid } +#endif bool SkImage::isValid(GrContext* context) const { if (context) { |