Index: src/core/SkLocalMatrixShader.h |
diff --git a/src/core/SkLocalMatrixShader.h b/src/core/SkLocalMatrixShader.h |
index a108259461d347cad72e94824e3f577d8615e3a8..9c6a526f7b1356511be2373b79c336ff8a6f58f0 100644 |
--- a/src/core/SkLocalMatrixShader.h |
+++ b/src/core/SkLocalMatrixShader.h |
@@ -21,6 +21,11 @@ |
size_t contextSize() const override { |
return fProxyShader->contextSize(); |
+ } |
+ |
+ virtual BitmapType asABitmap(SkBitmap* bitmap, SkMatrix* matrix, |
+ TileMode* mode) const override { |
+ return fProxyShader->asABitmap(bitmap, matrix, mode); |
} |
GradientType asAGradient(GradientInfo* info) const override { |
@@ -53,10 +58,6 @@ |
void flatten(SkWriteBuffer&) const override; |
Context* onCreateContext(const ContextRec&, void*) const override; |
- bool onIsABitmap(SkBitmap* bitmap, SkMatrix* matrix, TileMode* mode) const override { |
- return fProxyShader->isABitmap(bitmap, matrix, mode); |
- } |
- |
private: |
SkAutoTUnref<SkShader> fProxyShader; |