Index: src/effects/gradients/SkGradientShader.cpp |
diff --git a/src/effects/gradients/SkGradientShader.cpp b/src/effects/gradients/SkGradientShader.cpp |
index 8155b1cc61ae7876749a31202a0a5e26e009fe14..ac70bc25e1126fdd8cd618dba62e50176c86f9dd 100644 |
--- a/src/effects/gradients/SkGradientShader.cpp |
+++ b/src/effects/gradients/SkGradientShader.cpp |
@@ -314,11 +314,6 @@ SkGradientShaderBase::GradientShaderBaseContext::GradientShaderBaseContext( |
if (shader.fColorsAreOpaque && paintAlpha == 0xFF) { |
fFlags |= kOpaqueAlpha_Flag; |
} |
- // we can do span16 as long as our individual colors are opaque, |
- // regardless of the paint's alpha |
- if (shader.fColorsAreOpaque) { |
- fFlags |= kHasSpan16_Flag; |
- } |
} |
SkGradientShaderBase::GradientShaderCache::GradientShaderCache( |