Index: src/effects/gradients/SkLinearGradient.cpp |
diff --git a/src/effects/gradients/SkLinearGradient.cpp b/src/effects/gradients/SkLinearGradient.cpp |
index fb0aa9836aab16333677ec8d07fd67eccb572238..d9b4a5c9b08bd1a2331e8be101fe163e1ff81d0d 100644 |
--- a/src/effects/gradients/SkLinearGradient.cpp |
+++ b/src/effects/gradients/SkLinearGradient.cpp |
@@ -261,22 +261,6 @@ void SkLinearGradient::LinearGradientContext::shadeSpan(int x, int y, SkPMColor* |
} |
} |
robertphillips
2015/08/19 19:03:02
So we don't care about tracking gradients as bitma
|
-SkShader::BitmapType SkLinearGradient::asABitmap(SkBitmap* bitmap, |
- SkMatrix* matrix, |
- TileMode xy[]) const { |
- if (bitmap) { |
- this->getGradientTableBitmap(bitmap); |
- } |
- if (matrix) { |
- matrix->preConcat(fPtsToUnit); |
- } |
- if (xy) { |
- xy[0] = fTileMode; |
- xy[1] = kClamp_TileMode; |
- } |
- return kLinear_BitmapType; |
-} |
- |
SkShader::GradientType SkLinearGradient::asAGradient(GradientInfo* info) const { |
if (info) { |
commonAsAGradient(info); |