Index: gm/rrects.cpp |
diff --git a/gm/rrects.cpp b/gm/rrects.cpp |
index 63d6c9e6dbbf2adb56e8528d291ed53bee96c0b0..e698e6bd34a75d16b4b56276afe03d133e751838 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; |
} |