Index: src/core/SkDraw.cpp |
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp |
index d07bcb8fcf1e05364ea900a573081a32aabe1227..d42a179a94b3ba4bd5e19fd94c2028e449b086ee 100644 |
--- a/src/core/SkDraw.cpp |
+++ b/src/core/SkDraw.cpp |
@@ -1697,7 +1697,7 @@ class SkTriColorShader : public SkShader { |
public: |
SkTriColorShader() {} |
- size_t contextSize() const override; |
+ size_t contextSize(const ContextRec&) const override; |
class TriColorShaderContext : public SkShader::Context { |
public: |
@@ -1771,7 +1771,7 @@ SkTriColorShader::TriColorShaderContext::TriColorShaderContext(const SkTriColorS |
SkTriColorShader::TriColorShaderContext::~TriColorShaderContext() {} |
-size_t SkTriColorShader::contextSize() const { |
+size_t SkTriColorShader::contextSize(const ContextRec&) const { |
return sizeof(TriColorShaderContext); |
} |
void SkTriColorShader::TriColorShaderContext::shadeSpan(int x, int y, SkPMColor dstC[], int count) { |