diff options
Diffstat (limited to 'gm/bigrrectaaeffect.cpp')
-rw-r--r-- | gm/bigrrectaaeffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/bigrrectaaeffect.cpp b/gm/bigrrectaaeffect.cpp index f4e00fbba2..94e7339dcc 100644 --- a/gm/bigrrectaaeffect.cpp +++ b/gm/bigrrectaaeffect.cpp @@ -86,9 +86,9 @@ protected: SkRect bounds = testBounds; bounds.offset(SkIntToScalar(x), SkIntToScalar(y)); - std::unique_ptr<GrDrawOp> op(GrRectOpFactory::MakeNonAAFill( + std::unique_ptr<GrMeshDrawOp> op(GrRectOpFactory::MakeNonAAFill( 0xff000000, SkMatrix::I(), bounds, nullptr, nullptr)); - renderTargetContext->priv().testingOnly_addDrawOp( + renderTargetContext->priv().testingOnly_addMeshDrawOp( std::move(grPaint), GrAAType::kNone, std::move(op)); } canvas->restore(); |