Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index 4054d5565a1472cf75da1d1483ca0fc3b583f0e8..5d15b4f8e86e98620232d0b0e471489afa7ba379 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -427,7 +427,7 @@ bool SkDisplacementMapEffect::filterImageGPU(Proxy* proxy, const SkBitmap& src, |
ctx.ctm().mapVectors(&scale, 1); |
GrPaint paint; |
- SkMatrix offsetMatrix = GrEffect::MakeDivByTextureWHMatrix(displacement); |
+ SkMatrix offsetMatrix = GrCoordTransform::MakeDivByTextureWHMatrix(displacement); |
offsetMatrix.preTranslate(SkIntToScalar(colorOffset.fX - displacementOffset.fX), |
SkIntToScalar(colorOffset.fY - displacementOffset.fY)); |