Index: src/effects/SkArithmeticMode.cpp |
diff --git a/src/effects/SkArithmeticMode.cpp b/src/effects/SkArithmeticMode.cpp |
index 107c7842da05d388ed63d2ed412eb7020a3ec756..7e0ca37ad26a5daf9e73711cd5010647c6ac7765 100644 |
--- a/src/effects/SkArithmeticMode.cpp |
+++ b/src/effects/SkArithmeticMode.cpp |
@@ -346,8 +346,7 @@ const GrBackendFragmentProcessorFactory& GrArithmeticEffect::getFactory() const |
void GrArithmeticEffect::onComputeInvariantOutput(InvariantOutput* inout) const { |
// TODO: optimize this |
- inout->fValidFlags = 0; |
- inout->fIsSingleComponent = false; |
+ inout->setToUnknown(); |
} |
/////////////////////////////////////////////////////////////////////////////// |