Index: src/gpu/GrPathRendering.h |
diff --git a/src/gpu/GrPathRendering.h b/src/gpu/GrPathRendering.h |
index 47c9a46f839d49371b9c4c0f81d0437a07c8d82c..a2e9c0295b86870e03d0e363f69a9e8af050dc2d 100644 |
--- a/src/gpu/GrPathRendering.h |
+++ b/src/gpu/GrPathRendering.h |
@@ -179,7 +179,9 @@ public: |
if (GrXferBarrierType barrierType = args.fPipeline->xferBarrierType(*fGpu->caps())) { |
fGpu->xferBarrier(args.fPipeline->getRenderTarget(), barrierType); |
} |
- pathRange->willDrawPaths(indices, indexType, count); |
+#ifdef SK_DEBUG |
+ pathRange->assertPathsLoaded(indices, indexType, count); |
+#endif |
this->onDrawPaths(args, pathRange, indices, indexType, transformValues, transformType, |
count); |
} |