Index: src/gpu/effects/GrBezierEffect.h |
diff --git a/src/gpu/effects/GrBezierEffect.h b/src/gpu/effects/GrBezierEffect.h |
index 4631a2ca8e9176cc88f90ca0add1543ff83dc824..e6751db0284af9ee18c7539bc8b448b53261ea36 100644 |
--- a/src/gpu/effects/GrBezierEffect.h |
+++ b/src/gpu/effects/GrBezierEffect.h |
@@ -105,8 +105,7 @@ private: |
virtual bool onIsEqual(const GrProcessor& other) const SK_OVERRIDE; |
virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE { |
- inout->fValidFlags = 0; |
- inout->fIsSingleComponent = false; |
+ inout->mulByUnknownAlpha(); |
} |
GrPrimitiveEdgeType fEdgeType; |
@@ -178,8 +177,7 @@ private: |
virtual bool onIsEqual(const GrProcessor& other) const SK_OVERRIDE; |
virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE { |
- inout->fValidFlags = 0; |
- inout->fIsSingleComponent = false; |
+ inout->mulByUnknownAlpha(); |
} |
GrPrimitiveEdgeType fEdgeType; |
@@ -253,8 +251,7 @@ private: |
virtual bool onIsEqual(const GrProcessor& other) const SK_OVERRIDE; |
virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE { |
- inout->fValidFlags = 0; |
- inout->fIsSingleComponent = false; |
+ inout->mulByUnknownAlpha(); |
} |
GrPrimitiveEdgeType fEdgeType; |