Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index 4c3e1300c5c09ffc5e070691b12106dce6c04d3e..eaaed8ae82fd037d59fc5e40f43fe465b6a96f96 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -36,7 +36,7 @@ SkSurface* SkImage_Gpu::onNewSurface(const SkImageInfo& info, const SkSurfacePro |
} |
extern void SkTextureImageApplyBudgetedDecision(SkImage* image) { |
- if (image->getTexture()) { |
+ if (as_IB(image)->getTexture()) { |
((SkImage_Gpu*)image)->applyBudgetDecision(); |
} |
} |