diff options
Diffstat (limited to 'src/effects/SkGradientShader.cpp')
-rw-r--r-- | src/effects/SkGradientShader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/effects/SkGradientShader.cpp b/src/effects/SkGradientShader.cpp index df46a8fec3..6d7c7959e5 100644 --- a/src/effects/SkGradientShader.cpp +++ b/src/effects/SkGradientShader.cpp @@ -274,6 +274,7 @@ Gradient_Shader::Gradient_Shader(const SkColor colors[], const SkScalar pos[], } } } + fFlags = 0; } Gradient_Shader::Gradient_Shader(SkFlattenableReadBuffer& buffer) : @@ -307,6 +308,7 @@ Gradient_Shader::Gradient_Shader(SkFlattenableReadBuffer& buffer) : } } buffer.read(&fPtsToUnit, sizeof(SkMatrix)); + fFlags = 0; } Gradient_Shader::~Gradient_Shader() { |