diff options
Diffstat (limited to 'gm/texturedomaineffect.cpp')
-rw-r--r-- | gm/texturedomaineffect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp index d49e059c56..e54404ef64 100644 --- a/gm/texturedomaineffect.cpp +++ b/gm/texturedomaineffect.cpp @@ -18,7 +18,7 @@ #include "SkGradientShader.h" #include "effects/GrTextureDomain.h" #include "ops/GrDrawOp.h" -#include "ops/GrNonAAFillRectOp.h" +#include "ops/GrRectOpFactory.h" namespace skiagm { /** @@ -134,8 +134,8 @@ protected: const SkMatrix viewMatrix = SkMatrix::MakeTrans(x, y); grPaint.addColorFragmentProcessor(std::move(fp)); renderTargetContext->priv().testingOnly_addDrawOp( - GrNonAAFillRectOp::Make(std::move(grPaint), viewMatrix, renderRect, - nullptr, nullptr, GrAAType::kNone)); + GrRectOpFactory::MakeNonAAFill(std::move(grPaint), viewMatrix, + renderRect, GrAAType::kNone)); x += renderRect.width() + kTestPad; } y += renderRect.height() + kTestPad; |