Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index 2703a245e058f9bfc63b2b5fa67f21aac4b5d06d..317f6f09ecfaf2639e4be0290965f56a05c8781f 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -230,11 +230,11 @@ bool AlphaThresholdEffect::onIsEqual(const GrFragmentProcessor& sBase) const { |
void AlphaThresholdEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { |
if (GrPixelConfigIsAlphaOnly(this->texture(0)->config())) { |
- inout->mulByUnknownAlpha(); |
+ inout->mulByUnknownSingleComponent(); |
} else if (GrPixelConfigIsOpaque(this->texture(0)->config()) && fOuterThreshold >= 1.f) { |
- inout->mulByUnknownOpaqueColor(); |
+ inout->mulByUnknownOpaqueFourComponents(); |
} else { |
- inout->mulByUnknownColor(); |
+ inout->mulByUnknownFourComponents(); |
} |
} |