Index: src/gpu/effects/GrDistanceFieldGeoProc.cpp |
diff --git a/src/gpu/effects/GrDistanceFieldGeoProc.cpp b/src/gpu/effects/GrDistanceFieldGeoProc.cpp |
index bd48e51b2f688f022317e46c33086a02357ea3ae..adcb6a6b62023e0c65fac4e1583eb4d0ff90989e 100755 |
--- a/src/gpu/effects/GrDistanceFieldGeoProc.cpp |
+++ b/src/gpu/effects/GrDistanceFieldGeoProc.cpp |
@@ -197,7 +197,8 @@ GrDistanceFieldA8TextGeoProc::GrDistanceFieldA8TextGeoProc(GrColor color, |
float distanceAdjust, |
#endif |
uint32_t flags) |
- : INHERITED(color, viewMatrix, SkMatrix::I()) |
+ : INHERITED(viewMatrix, SkMatrix::I()) |
+ , fColor(color) |
, fTextureAccess(texture, params) |
#ifdef SK_GAMMA_APPLY_TO_A8 |
, fDistanceAdjust(distanceAdjust) |
@@ -423,7 +424,8 @@ GrDistanceFieldPathGeoProc::GrDistanceFieldPathGeoProc( |
GrTexture* texture, |
const GrTextureParams& params, |
uint32_t flags) |
- : INHERITED(color, viewMatrix, SkMatrix::I()) |
+ : INHERITED(viewMatrix, SkMatrix::I()) |
+ , fColor(color) |
, fTextureAccess(texture, params) |
, fFlags(flags & kNonLCD_DistanceFieldEffectMask) |
, fInColor(NULL) { |
@@ -691,7 +693,8 @@ GrDistanceFieldLCDTextGeoProc::GrDistanceFieldLCDTextGeoProc( |
GrTexture* texture, const GrTextureParams& params, |
DistanceAdjust distanceAdjust, |
uint32_t flags) |
- : INHERITED(color, viewMatrix, SkMatrix::I()) |
+ : INHERITED(viewMatrix, SkMatrix::I()) |
+ , fColor(color) |
, fTextureAccess(texture, params) |
, fDistanceAdjust(distanceAdjust) |
, fFlags(flags & kLCD_DistanceFieldEffectMask){ |