Index: gm/constcolorprocessor.cpp |
diff --git a/gm/constcolorprocessor.cpp b/gm/constcolorprocessor.cpp |
index 177a8c9e4fdc5c5d99b9c2ef7d988d4211b11190..a9cd4b5dc5d1d4dc85221babe82a2bc2c477ec69 100644 |
--- a/gm/constcolorprocessor.cpp |
+++ b/gm/constcolorprocessor.cpp |
@@ -13,7 +13,7 @@ |
#if SK_SUPPORT_GPU |
#include "GrContext.h" |
-#include "GrDrawContextPriv.h" |
+#include "GrDrawContext.h" |
#include "GrPipelineBuilder.h" |
#include "SkGrPriv.h" |
#include "SkGradientShader.h" |
@@ -118,7 +118,7 @@ |
SkAutoTUnref<GrDrawBatch> batch( |
GrRectBatchFactory::CreateNonAAFill(grPaint.getColor(), viewMatrix, |
renderRect, nullptr, nullptr)); |
- drawContext->drawContextPriv().testingOnly_drawBatch(pipelineBuilder, batch); |
+ drawContext->internal_drawBatch(pipelineBuilder, batch); |
// Draw labels for the input to the processor and the processor to the right of |
// the test rect. The input label appears above the processor label. |