Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index 6a20d48c758cd1f64f5fe4ab38d2fca93bece2be..b28357db927bcded50aa7064866e4da77a81adc3 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -813,7 +813,7 @@ GrRectBlurEffect::GrRectBlurEffect(const SkRect& rect, float sigma, GrTexture *b |
GrSLPrecision precision) |
: fRect(rect) |
, fSigma(sigma) |
- , fBlurProfileAccess(blurProfile) |
+ , fBlurProfileAccess(blurProfile, nullptr) |
, fPrecision(precision) { |
this->initClassID<GrRectBlurEffect>(); |
this->addTextureAccess(&fBlurProfileAccess); |
@@ -1023,7 +1023,7 @@ void GrRRectBlurEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const |
GrRRectBlurEffect::GrRRectBlurEffect(float sigma, const SkRRect& rrect, GrTexture *ninePatchTexture) |
: fRRect(rrect), |
fSigma(sigma), |
- fNinePatchAccess(ninePatchTexture) { |
+ fNinePatchAccess(ninePatchTexture, nullptr) { |
this->initClassID<GrRRectBlurEffect>(); |
this->addTextureAccess(&fNinePatchAccess); |
this->setWillReadFragmentPosition(); |
@@ -1260,7 +1260,7 @@ bool SkBlurMaskFilterImpl::filterMaskGPU(GrTexture* src, |
SkMatrix matrix; |
matrix.setIDiv(src->width(), src->height()); |
// Blend pathTexture over blurTexture. |
- paint.addCoverageFragmentProcessor(GrSimpleTextureEffect::Make(src, matrix)); |
+ paint.addCoverageFragmentProcessor(GrSimpleTextureEffect::Make(src, nullptr, matrix)); |
if (kInner_SkBlurStyle == fBlurStyle) { |
// inner: dst = dst * src |
paint.setCoverageSetOpXPFactory(SkRegion::kIntersect_Op); |