Index: gm/texturedomaineffect.cpp |
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp |
index 53316f7234bc1060fbdacddc9cf49bd7b7bd4ffb..72e40feb49396221fc29788b7d94ec16f8459a18 100644 |
--- a/gm/texturedomaineffect.cpp |
+++ b/gm/texturedomaineffect.cpp |
@@ -12,7 +12,7 @@ |
#if SK_SUPPORT_GPU |
-#include "GrDrawContext.h" |
+#include "GrDrawContextPriv.h" |
#include "GrContext.h" |
#include "SkBitmap.h" |
#include "SkGr.h" |
@@ -135,7 +135,7 @@ protected: |
SkAutoTUnref<GrDrawBatch> batch( |
GrRectBatchFactory::CreateNonAAFill(GrColor_WHITE, viewMatrix, |
renderRect, nullptr, nullptr)); |
- drawContext->internal_drawBatch(pipelineBuilder, batch); |
+ drawContext->drawContextPriv().testingOnly_drawBatch(pipelineBuilder, batch); |
x += renderRect.width() + kTestPad; |
} |
y += renderRect.height() + kTestPad; |