aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkLocalMatrixShader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkLocalMatrixShader.h')
-rw-r--r--src/core/SkLocalMatrixShader.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/SkLocalMatrixShader.h b/src/core/SkLocalMatrixShader.h
index 0641abe461..5c0424053b 100644
--- a/src/core/SkLocalMatrixShader.h
+++ b/src/core/SkLocalMatrixShader.h
@@ -13,6 +13,7 @@
#include "SkWriteBuffer.h"
class GrFragmentProcessor;
+class SkArenaAlloc;
class SkLocalMatrixShader : public SkShader {
public:
@@ -41,11 +42,8 @@ public:
protected:
void flatten(SkWriteBuffer&) const override;
- Context* onCreateContext(const ContextRec&, void*) const override;
- size_t onContextSize(const ContextRec& rec) const override {
- return fProxyShader->contextSize(rec);
- }
+ Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
SkImage* onIsAImage(SkMatrix* matrix, TileMode* mode) const override {
return fProxyShader->isAImage(matrix, mode);