Index: src/effects/gradients/SkSweepGradient.cpp |
diff --git a/src/effects/gradients/SkSweepGradient.cpp b/src/effects/gradients/SkSweepGradient.cpp |
index 18816904949255f455c6ee6600e67b4541edfe6e..22bf68eaeaf9096a3744d417624d7ff9ded73d0b 100644 |
--- a/src/effects/gradients/SkSweepGradient.cpp |
+++ b/src/effects/gradients/SkSweepGradient.cpp |
@@ -22,21 +22,6 @@ SkSweepGradient::SkSweepGradient(SkScalar cx, SkScalar cy, const Descriptor& des |
fTileMode = SkShader::kClamp_TileMode; |
} |
-SkShader::BitmapType SkSweepGradient::asABitmap(SkBitmap* bitmap, |
- SkMatrix* matrix, SkShader::TileMode* xy) const { |
- if (bitmap) { |
- this->getGradientTableBitmap(bitmap); |
- } |
- if (matrix) { |
- *matrix = fPtsToUnit; |
- } |
- if (xy) { |
- xy[0] = fTileMode; |
- xy[1] = kClamp_TileMode; |
- } |
- return kSweep_BitmapType; |
-} |
- |
SkShader::GradientType SkSweepGradient::asAGradient(GradientInfo* info) const { |
if (info) { |
commonAsAGradient(info); |