Index: src/gpu/effects/GrDitherEffect.cpp |
diff --git a/src/gpu/effects/GrDitherEffect.cpp b/src/gpu/effects/GrDitherEffect.cpp |
index ce8c4716653911dad53a8b91a71f3f9b720782d3..96cdd75048adbe379f024d5e5659ed31c2ffc0f1 100644 |
--- a/src/gpu/effects/GrDitherEffect.cpp |
+++ b/src/gpu/effects/GrDitherEffect.cpp |
@@ -50,8 +50,7 @@ private: |
}; |
void DitherEffect::onComputeInvariantOutput(InvariantOutput* inout) const { |
- inout->fValidFlags = 0; |
- inout->fIsSingleComponent = false; |
+ inout->setToUnknown(); |
} |
////////////////////////////////////////////////////////////////////////////// |