Index: src/image/SkImage_Generator.cpp |
diff --git a/src/image/SkImage_Generator.cpp b/src/image/SkImage_Generator.cpp |
index 2bb508f46d11fa24007373189e8c69a5dc26dae9..0f1fa3692c8e3dd7a88b46acdc74642555a16e54 100644 |
--- a/src/image/SkImage_Generator.cpp |
+++ b/src/image/SkImage_Generator.cpp |
@@ -77,11 +77,11 @@ SkData* SkImage_Generator::onRefEncoded() const { |
} |
bool SkImage_Generator::getROPixels(SkBitmap* bitmap) const { |
- return fCache->lockAsBitmap(bitmap); |
+ return fCache->lockAsBitmap(bitmap, this); |
} |
GrTexture* SkImage_Generator::asTextureRef(GrContext* ctx, SkImageUsageType usage) const { |
- return fCache->lockAsTexture(ctx, usage); |
+ return fCache->lockAsTexture(ctx, usage, this); |
} |
SkImage* SkImage::NewFromGenerator(SkImageGenerator* generator, const SkIRect* subset) { |