Index: src/core/SkXfermode.cpp |
diff --git a/src/core/SkXfermode.cpp b/src/core/SkXfermode.cpp |
index 5d4b260daa53816f8ac23bc931166a37ea558992..7fcdeb8f3414c6b962791d1de8caeadffa9bc8aa 100644 |
--- a/src/core/SkXfermode.cpp |
+++ b/src/core/SkXfermode.cpp |
@@ -1213,8 +1213,7 @@ private: |
} |
virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE { |
- inout->fValidFlags = 0; |
- inout->fIsSingleComponent = false; |
+ inout->setToUnknown(); |
} |
SkXfermode::Mode fMode; |