Index: src/gpu/GrTextureParamsAdjuster.cpp |
diff --git a/src/gpu/GrTextureParamsAdjuster.cpp b/src/gpu/GrTextureParamsAdjuster.cpp |
index b98a126971de0836d666226a184179d50588632c..37f1d8156efe833ed17b1cbb13a49f8fc38abf9c 100644 |
--- a/src/gpu/GrTextureParamsAdjuster.cpp |
+++ b/src/gpu/GrTextureParamsAdjuster.cpp |
@@ -352,13 +352,11 @@ const GrFragmentProcessor* GrTextureAdjuster::createFragmentProcessor( |
texture->width(), texture->height(), |
contentArea, &kBilerp, &domain); |
SkASSERT(kTightCopy_DomainMode != domainMode); |
- filterOrNullForBicubic = &kBilerp; |
} |
SkASSERT(kNoDomain_DomainMode == domainMode || |
(domain.fLeft <= domain.fRight && domain.fTop <= domain.fBottom)); |
if (filterOrNullForBicubic) { |
if (kDomain_DomainMode == domainMode) { |
- SkASSERT(*filterOrNullForBicubic != GrTextureParams::kMipMap_FilterMode); |
return GrTextureDomainEffect::Create(texture, textureMatrix, domain, |
GrTextureDomain::kClamp_Mode, |
*filterOrNullForBicubic); |