Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index e28a31d4bf7792c457f92aa5e75f42475dcc3456..57ee33957bf9cd6625045c9f623849e8d7b14e86 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)->getTexture()) { |
+ if (as_IB(image)->peekTexture()) { |
((SkImage_Gpu*)image)->applyBudgetDecision(); |
} |
} |