Index: src/gpu/GrInOrderDrawBuffer.h |
diff --git a/src/gpu/GrInOrderDrawBuffer.h b/src/gpu/GrInOrderDrawBuffer.h |
index b253768f84bdde01d8b8844fc039dcb9dc6fa334..264d2a7297cb78bf8d64ba77a00e432bad8bdd71 100644 |
--- a/src/gpu/GrInOrderDrawBuffer.h |
+++ b/src/gpu/GrInOrderDrawBuffer.h |
@@ -9,7 +9,7 @@ |
#define GrInOrderDrawBuffer_DEFINED |
#include "GrDrawTarget.h" |
-#include "GrTargetCommands.h" |
+#include "GrCommandBuilder.h" |
#include "SkChunkAlloc.h" |
/** |
@@ -71,6 +71,7 @@ protected: |
} |
private: |
+ friend class GrCommandBuilder; |
friend class GrTargetCommands; |
typedef GrTargetCommands::State State; |
@@ -148,7 +149,7 @@ private: |
// highwater mark |
static const int kPipelineBufferHighWaterMark = 100; |
- GrTargetCommands fCommands; |
+ SkAutoTDelete<GrCommandBuilder> fCommands; |
SkTArray<GrTraceMarkerSet, false> fGpuCmdMarkers; |
SkChunkAlloc fPathIndexBuffer; |
SkChunkAlloc fPathTransformBuffer; |