Index: src/core/SkLocalMatrixShader.h |
diff --git a/src/core/SkLocalMatrixShader.h b/src/core/SkLocalMatrixShader.h |
index 8edea40d05bd1d896bcca7d31ef86bb96ddb4716..d897d49ded4cdd455472626a0190df6f7f9080be 100644 |
--- a/src/core/SkLocalMatrixShader.h |
+++ b/src/core/SkLocalMatrixShader.h |
@@ -18,6 +18,10 @@ |
: INHERITED(&localMatrix) |
, fProxyShader(SkRef(proxy)) |
{} |
+ |
+ size_t contextSize(const ContextRec& rec) const override { |
+ return fProxyShader->contextSize(rec); |
+ } |
GradientType asAGradient(GradientInfo* info) const override { |
return fProxyShader->asAGradient(info); |
@@ -49,10 +53,6 @@ |
void flatten(SkWriteBuffer&) const override; |
Context* onCreateContext(const ContextRec&, void*) const override; |
- size_t onContextSize(const ContextRec& rec) const override { |
- return fProxyShader->contextSize(rec); |
- } |
- |
bool onIsABitmap(SkBitmap* bitmap, SkMatrix* matrix, TileMode* mode) const override { |
return fProxyShader->isABitmap(bitmap, matrix, mode); |
} |