aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/constcolorprocessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/constcolorprocessor.cpp')
-rw-r--r--gm/constcolorprocessor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/constcolorprocessor.cpp b/gm/constcolorprocessor.cpp
index f6a9dae0a5..d70674279c 100644
--- a/gm/constcolorprocessor.cpp
+++ b/gm/constcolorprocessor.cpp
@@ -15,7 +15,7 @@
#include "GrRenderTargetContextPriv.h"
#include "SkGrPriv.h"
#include "SkGradientShader.h"
-#include "batches/GrDrawBatch.h"
+#include "batches/GrDrawOp.h"
#include "batches/GrRectBatchFactory.h"
#include "effects/GrConstColorProcessor.h"
@@ -109,7 +109,7 @@ protected:
grPaint.addColorFragmentProcessor(std::move(fp));
- sk_sp<GrDrawBatch> batch(
+ sk_sp<GrDrawOp> batch(
GrRectBatchFactory::CreateNonAAFill(grPaint.getColor(), viewMatrix,
renderRect, nullptr, nullptr));
renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch.get());