Index: src/core/SkColorFilter.cpp |
diff --git a/src/core/SkColorFilter.cpp b/src/core/SkColorFilter.cpp |
index 0a9cd93e34edb34203801d69465dfc82042028ac..45950ad0b5d35a3496685238c8fb83576d504533 100644 |
--- a/src/core/SkColorFilter.cpp |
+++ b/src/core/SkColorFilter.cpp |
@@ -22,15 +22,6 @@ bool SkColorFilter::asComponentTable(SkBitmap*) const { |
return false; |
} |
-void SkColorFilter::filterSpan16(const uint16_t s[], int count, uint16_t d[]) const { |
- SkASSERT(this->getFlags() & SkColorFilter::kHasFilter16_Flag); |
- SkDEBUGFAIL("missing implementation of SkColorFilter::filterSpan16"); |
- |
- if (d != s) { |
- memcpy(d, s, count * sizeof(uint16_t)); |
- } |
-} |
- |
SkColor SkColorFilter::filterColor(SkColor c) const { |
SkPMColor dst, src = SkPreMultiplyColor(c); |
this->filterSpan(&src, 1, &dst); |
@@ -61,12 +52,6 @@ public: |
fOuter->filterSpan(result, count, result); |
} |
- void filterSpan16(const uint16_t shader[], int count, uint16_t result[]) const SK_OVERRIDE { |
- SkASSERT(this->getFlags() & kHasFilter16_Flag); |
- fInner->filterSpan16(shader, count, result); |
- fOuter->filterSpan16(result, count, result); |
- } |
- |
#ifndef SK_IGNORE_TO_STRING |
void toString(SkString* str) const SK_OVERRIDE { |
SkString outerS, innerS; |