From 86c60758e9e4f9e203d7462cb22b2a245a0f51bd Mon Sep 17 00:00:00 2001 From: robertphillips Date: Wed, 2 Mar 2016 08:43:13 -0800 Subject: Begin weaning GrClipMaskManager off of GrDrawTarget (take 2) GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1754563003 Review URL: https://codereview.chromium.org/1754563003 --- gm/rrects.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gm/rrects.cpp') diff --git a/gm/rrects.cpp b/gm/rrects.cpp index 63d6c9e6db..e698e6bd34 100644 --- a/gm/rrects.cpp +++ b/gm/rrects.cpp @@ -8,7 +8,7 @@ #include "gm.h" #if SK_SUPPORT_GPU #include "GrContext.h" -#include "GrDrawContext.h" +#include "GrDrawContextPriv.h" #include "batches/GrDrawBatch.h" #include "batches/GrRectBatchFactory.h" #include "effects/GrRRectEffect.h" @@ -137,7 +137,8 @@ protected: SkAutoTUnref batch( GrRectBatchFactory::CreateNonAAFill(0xff000000, SkMatrix::I(), bounds, nullptr, nullptr)); - drawContext->internal_drawBatch(pipelineBuilder, batch); + drawContext->drawContextPriv().testingOnly_drawBatch(pipelineBuilder, + batch); } else { drew = false; } -- cgit v1.2.3