From baaf439eb5d08097d794f13800e5bf7ce8885f95 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Thu, 15 Jun 2017 09:59:23 -0400 Subject: Revert "Revert "Converts remaining rect ops from GrLegacyMeshDrawOp to GrMeshDrawOp subclasses."" This reverts commit a0485d94529905e76320b7aa941a0d94b5578ac2. Bug: skia: Change-Id: If50b2d1af285a6c3c943373bb7258b56e1af28d6 Reviewed-on: https://skia-review.googlesource.com/19961 Reviewed-by: Robert Phillips Commit-Queue: Brian Salomon --- tests/ProcessorTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/ProcessorTest.cpp') diff --git a/tests/ProcessorTest.cpp b/tests/ProcessorTest.cpp index 528dd61562..7f9dff738b 100644 --- a/tests/ProcessorTest.cpp +++ b/tests/ProcessorTest.cpp @@ -19,7 +19,7 @@ #include "GrResourceProvider.h" #include "glsl/GrGLSLFragmentProcessor.h" #include "glsl/GrGLSLFragmentShaderBuilder.h" -#include "ops/GrNonAAFillRectOp.h" +#include "ops/GrRectOpFactory.h" #include "ops/GrTestMeshDrawOp.h" namespace { @@ -270,9 +270,9 @@ void test_draw_op(GrRenderTargetContext* rtc, sk_sp fp, paint.addColorFragmentProcessor(std::move(fp)); paint.setPorterDuffXPFactory(SkBlendMode::kSrc); - auto op = GrNonAAFillRectOp::Make(std::move(paint), SkMatrix::I(), - SkRect::MakeWH(rtc->width(), rtc->height()), nullptr, nullptr, - GrAAType::kNone); + auto op = GrRectOpFactory::MakeNonAAFill(std::move(paint), SkMatrix::I(), + SkRect::MakeWH(rtc->width(), rtc->height()), + GrAAType::kNone); rtc->addDrawOp(GrNoClip(), std::move(op)); } -- cgit v1.2.3