Index: src/core/SkLightingShader.cpp |
diff --git a/src/core/SkLightingShader.cpp b/src/core/SkLightingShader.cpp |
index a68553e6610e20ba759e68dc3bfdbd1b5afead92..9d6c5864e253cfd11d3d5e9ce80ee371ba05824d 100644 |
--- a/src/core/SkLightingShader.cpp |
+++ b/src/core/SkLightingShader.cpp |
@@ -79,7 +79,7 @@ public: |
SkFilterQuality) const override; |
#endif |
- size_t contextSize() const override; |
+ size_t contextSize(const ContextRec&) const override; |
class LightingShaderContext : public SkShader::Context { |
public: |
@@ -416,7 +416,7 @@ bool SkLightingShaderImpl::isOpaque() const { |
return fDiffuseMap.isOpaque(); |
} |
-size_t SkLightingShaderImpl::contextSize() const { |
+size_t SkLightingShaderImpl::contextSize(const ContextRec&) const { |
return 2 * sizeof(SkBitmapProcState) + sizeof(LightingShaderContext); |
} |