Index: src/gpu/effects/GrBezierEffect.h |
diff --git a/src/gpu/effects/GrBezierEffect.h b/src/gpu/effects/GrBezierEffect.h |
index 53b1053b0c8ebddbbcc7fe45263b328b0add130e..a9cbeb0dcb2f383c929a77462fba861c45f5668f 100644 |
--- a/src/gpu/effects/GrBezierEffect.h |
+++ b/src/gpu/effects/GrBezierEffect.h |
@@ -102,8 +102,8 @@ |
virtual bool onIsEqual(const GrGeometryProcessor& other) const SK_OVERRIDE; |
- virtual void onGetInvariantOutputCoverage(GrInitInvariantOutput* out) const SK_OVERRIDE { |
- out->setUnknownSingleComponent(); |
+ virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVERRIDE { |
+ inout->mulByUnknownAlpha(); |
} |
GrPrimitiveEdgeType fEdgeType; |
@@ -171,8 +171,8 @@ |
virtual bool onIsEqual(const GrGeometryProcessor& other) const SK_OVERRIDE; |
- virtual void onGetInvariantOutputCoverage(GrInitInvariantOutput* out) const SK_OVERRIDE { |
- out->setUnknownSingleComponent(); |
+ virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVERRIDE { |
+ inout->mulByUnknownAlpha(); |
} |
GrPrimitiveEdgeType fEdgeType; |
@@ -241,8 +241,8 @@ |
virtual bool onIsEqual(const GrGeometryProcessor& other) const SK_OVERRIDE; |
- virtual void onGetInvariantOutputCoverage(GrInitInvariantOutput* out) const SK_OVERRIDE { |
- out->setUnknownSingleComponent(); |
+ virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVERRIDE { |
+ inout->mulByUnknownAlpha(); |
} |
GrPrimitiveEdgeType fEdgeType; |