aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/rrects.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-03-02 09:26:36 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-02 09:26:36 -0800
commit391395dcfbff09a83f8f0e9d3e02d38c855ae2e9 (patch)
tree8f03364d3b4939642a597834f7929dce98c7d2b8 /gm/rrects.cpp
parent855bd4415c1a26950e946cc2f8756f7e03b61637 (diff)
Begin weaning GrClipMaskManager off of GrDrawTarget (take 2)
Diffstat (limited to 'gm/rrects.cpp')
-rw-r--r--gm/rrects.cpp5
1 files changed, 3 insertions, 2 deletions
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<GrDrawBatch> batch(
GrRectBatchFactory::CreateNonAAFill(0xff000000, SkMatrix::I(),
bounds, nullptr, nullptr));
- drawContext->internal_drawBatch(pipelineBuilder, batch);
+ drawContext->drawContextPriv().testingOnly_drawBatch(pipelineBuilder,
+ batch);
} else {
drew = false;
}