BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2225093002
Review-Url: https://codereview.chromium.org/
2225093002
class LightingShaderContext : public SkShader::Context {
public:
- // The context takes ownership of the states. It will call their destructors
- // but will NOT free the memory.
+ // The context takes ownership of the context and provider. It will call their destructors
+ // and then indirectly free their memory by calling free() on heapAllocated
LightingShaderContext(const SkLightingShaderImpl&, const ContextRec&,
SkShader::Context* diffuseContext, SkNormalSource::Provider*,
void* heapAllocated);