Index: src/image/SkImage_Gpu.h |
diff --git a/src/image/SkImage_Gpu.h b/src/image/SkImage_Gpu.h |
index 44949a13ac82b45f769c1bf5951dd6ccaf4f6a3d..a9d9c33f2d00cd0c3f193082f97b472631fd55c4 100644 |
--- a/src/image/SkImage_Gpu.h |
+++ b/src/image/SkImage_Gpu.h |
@@ -28,6 +28,7 @@ public: |
~SkImage_Gpu() override; |
SkImageInfo onImageInfo() const override; |
+ SkAlphaType onAlphaType() const override { return fAlphaType; } |
void applyBudgetDecision() const { |
if (SkBudgeted::kYes == fBudgeted) { |
@@ -47,7 +48,6 @@ public: |
*uniqueID = this->uniqueID(); |
return sk_ref_sp(fTexture.get()); |
} |
- bool isOpaque() const override; |
bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes, |
int srcX, int srcY, CachingHint) const override; |