diff options
Diffstat (limited to 'src/gpu/batches/GrStencilPathBatch.h')
-rw-r--r-- | src/gpu/batches/GrStencilPathBatch.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gpu/batches/GrStencilPathBatch.h b/src/gpu/batches/GrStencilPathBatch.h index a0dcadb620..9f6740a046 100644 --- a/src/gpu/batches/GrStencilPathBatch.h +++ b/src/gpu/batches/GrStencilPathBatch.h @@ -17,8 +17,6 @@ class GrStencilPathBatch final : public GrBatch { public: - DEFINE_BATCH_CLASS_ID - static GrBatch* Create(const SkMatrix& viewMatrix, bool useHWAA, const GrStencilSettings& stencil, @@ -45,13 +43,13 @@ private: const GrScissorState& scissor, GrRenderTarget* renderTarget, const GrPath* path) - : INHERITED(ClassID()) - , fViewMatrix(viewMatrix) + : fViewMatrix(viewMatrix) , fUseHWAA(useHWAA) , fStencil(stencil) , fScissor(scissor) , fRenderTarget(renderTarget) , fPath(path) { + this->initClassID<GrStencilPathBatch>(); fBounds = path->getBounds(); } @@ -71,8 +69,6 @@ private: GrScissorState fScissor; GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; GrPendingIOResource<const GrPath, kRead_GrIOType> fPath; - - typedef GrBatch INHERITED; }; #endif |