diff options
Diffstat (limited to 'chromium/third_party/skia/gm/texelsubset.cpp')
-rw-r--r-- | chromium/third_party/skia/gm/texelsubset.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/skia/gm/texelsubset.cpp b/chromium/third_party/skia/gm/texelsubset.cpp index d957403c8a4..75d335b4695 100644 --- a/chromium/third_party/skia/gm/texelsubset.cpp +++ b/chromium/third_party/skia/gm/texelsubset.cpp @@ -154,7 +154,7 @@ protected: std::move(fp1), drawRect, localRect.makeOffset(kT), - SkMatrix::MakeTrans(-kT))) { + SkMatrix::Translate(-kT))) { renderTargetContext->priv().testingOnly_addDrawOp(std::move(op)); } @@ -164,7 +164,7 @@ protected: // rather than a texture subset as a comparison. drawRect = localRect.makeOffset(x, y); SkMatrix subsetTextureMatrix = SkMatrix::Concat( - SkMatrix::MakeTrans(-texelSubset.topLeft()), textureMatrices[tm]); + SkMatrix::Translate(-texelSubset.topLeft()), textureMatrices[tm]); auto fp2 = GrTextureEffect::Make(subsetView, fBitmap.alphaType(), subsetTextureMatrix, |