diff options
author | Robert Phillips <robertphillips@google.com> | 2018-04-05 07:45:43 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-05 12:23:22 +0000 |
commit | 636fbaea77effb3de23ed62e2cb1dfa13be1d22e (patch) | |
tree | 446301a18af5c782ce77ae5a2f40efc3c375a673 | |
parent | a24c622fb225db4e9b1344501be00d047e0c2b9d (diff) |
Fix iOS bot in Chrome CQ
TBR=herb@google.com
Change-Id: I5133278b8c8293ea6808ce8f0a724b884aba24f0
Reviewed-on: https://skia-review.googlesource.com/118589
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Herb Derby <herb@google.com>
-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) { |