Init fDevKLMMatrix in GrGLCubicEffect (possible valgrind fix)
TBR=bsalomon@google.com
Change-Id: I97357291d6d4098caecc9ac37348c9b9436ce11b
Reviewed-on: https://skia-review.googlesource.com/19442
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/effects/GrBezierEffect.cpp b/src/gpu/effects/GrBezierEffect.cpp
index 54a2e85..d45cd75 100644
--- a/src/gpu/effects/GrBezierEffect.cpp
+++ b/src/gpu/effects/GrBezierEffect.cpp
@@ -529,7 +529,9 @@
};
GrGLCubicEffect::GrGLCubicEffect(const GrGeometryProcessor& processor)
- : fViewMatrix(SkMatrix::InvalidMatrix()), fColor(GrColor_ILLEGAL) {
+ : fViewMatrix(SkMatrix::InvalidMatrix())
+ , fDevKLMMatrix(SkMatrix::InvalidMatrix())
+ , fColor(GrColor_ILLEGAL) {
const GrCubicEffect& ce = processor.cast<GrCubicEffect>();
fEdgeType = ce.getEdgeType();
}