Index: src/core/SkLinearBitmapPipeline.cpp |
diff --git a/src/core/SkLinearBitmapPipeline.cpp b/src/core/SkLinearBitmapPipeline.cpp |
index 2090a1e436764f2c581b40d6b6f1444ec5d75fd7..6fd4e5fa80a6ad33ce0ff60e04ae44489d053b30 100644 |
--- a/src/core/SkLinearBitmapPipeline.cpp |
+++ b/src/core/SkLinearBitmapPipeline.cpp |
@@ -273,21 +273,6 @@ private: |
Strategy fStrategy; |
}; |
-class SkippedStage final : public SkLinearBitmapPipeline::BilerpProcessorInterface { |
- void VECTORCALL pointListFew(int n, Sk4s xs, Sk4s ys) override { |
- SkFAIL("Skipped stage."); |
- } |
- void VECTORCALL pointList4(Sk4s xs, Sk4s ys) override { |
- SkFAIL("Skipped stage."); |
- } |
- void VECTORCALL bilerpList(Sk4s xs, Sk4s ys) override { |
- SkFAIL("Skipped stage."); |
- } |
- void pointSpan(Span span) override { |
- SkFAIL("Skipped stage."); |
- } |
-}; |
- |
class TranslateMatrixStrategy { |
public: |
TranslateMatrixStrategy(SkVector offset) |
@@ -390,7 +375,6 @@ static SkLinearBitmapPipeline::PointProcessorInterface* choose_matrix( |
next, |
SkVector{inverse.getTranslateX(), inverse.getTranslateY()}); |
} else { |
- matrixProc->Initialize<SkippedStage>(); |
return next; |
} |
return matrixProc->get(); |
@@ -435,7 +419,6 @@ static SkLinearBitmapPipeline::PointProcessorInterface* choose_filter( |
SkFilterQuality filterQuailty, |
SkLinearBitmapPipeline::FilterStage* filterProc) { |
if (SkFilterQuality::kNone_SkFilterQuality == filterQuailty) { |
- filterProc->Initialize<SkippedStage>(); |
return next; |
} else { |
filterProc->Initialize<ExpandBilerp<>>(next); |
@@ -677,7 +660,6 @@ static SkLinearBitmapPipeline::BilerpProcessorInterface* choose_tiler( |
SkFAIL("Not implemented."); |
break; |
} |
- tileProcY->Initialize<SkippedStage>(); |
} else { |
switch (yMode) { |
case SkShader::kClamp_TileMode: |