Index: src/image/SkImage_Gpu.h |
diff --git a/src/image/SkImage_Gpu.h b/src/image/SkImage_Gpu.h |
index 0e9169d8d03c0237bd5f610d6cf76166848680d6..5faaa7526b20359efcd5fb306c40b85a0400218d 100644 |
--- a/src/image/SkImage_Gpu.h |
+++ b/src/image/SkImage_Gpu.h |
@@ -27,10 +27,7 @@ public: |
SkBudgeted); |
~SkImage_Gpu() override; |
- SkImageInfo onImageInfo() const override { |
- return GrMakeInfoFromTexture(fTexture, fTexture->width(), fTexture->height(), isOpaque(), |
- fColorSpace); |
- } |
+ SkImageInfo onImageInfo() const override; |
void applyBudgetDecision() const { |
if (SkBudgeted::kYes == fBudgeted) { |