Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index 7c08b1313ec1c2a72b17fb8b7b7be267b6716943..de67d6ca9e65ddeff91221ddd087469c65950499 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -38,7 +38,7 @@ SkImage_Gpu::~SkImage_Gpu() { |
} |
extern void SkTextureImageApplyBudgetedDecision(SkImage* image) { |
- if (as_IB(image)->peekTexture()) { |
+ if (image->isTextureBacked()) { |
((SkImage_Gpu*)image)->applyBudgetDecision(); |
} |
} |