| Index: src/gpu/GrTargetCommands.h
|
| diff --git a/src/gpu/GrTargetCommands.h b/src/gpu/GrTargetCommands.h
|
| index a15ac88090b64f82e58c3769c876b40f9fa56ca8..024048009db432899d02df78f228827ee3d75a8a 100644
|
| --- a/src/gpu/GrTargetCommands.h
|
| +++ b/src/gpu/GrTargetCommands.h
|
| @@ -232,19 +232,19 @@ private:
|
| };
|
|
|
| struct DrawBatch : public Cmd {
|
| - DrawBatch(GrBatch* batch, GrBatchTarget* batchTarget)
|
| + DrawBatch(GrDrawBatch* batch, GrBatchTarget* batchTarget)
|
| : Cmd(kDrawBatch_CmdType)
|
| , fBatch(SkRef(batch))
|
| , fBatchTarget(batchTarget) {
|
| SkASSERT(!batch->isUsed());
|
| }
|
|
|
| - GrBatch* batch() { return fBatch; }
|
| + GrDrawBatch* batch() { return fBatch; }
|
| void execute(GrGpu*) override;
|
|
|
| private:
|
| - SkAutoTUnref<GrBatch> fBatch;
|
| - GrBatchTarget* fBatchTarget;
|
| + SkAutoTUnref<GrDrawBatch> fBatch;
|
| + GrBatchTarget* fBatchTarget;
|
| };
|
|
|
| static const int kCmdBufferInitialSizeInBytes = 8 * 1024;
|
|
|