aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrStencilPathBatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/batches/GrStencilPathBatch.h')
-rw-r--r--src/gpu/batches/GrStencilPathBatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu/batches/GrStencilPathBatch.h b/src/gpu/batches/GrStencilPathBatch.h
index 908dd1f593..bafcfffc0e 100644
--- a/src/gpu/batches/GrStencilPathBatch.h
+++ b/src/gpu/batches/GrStencilPathBatch.h
@@ -49,7 +49,9 @@ private:
, fStencil(stencil)
, fScissor(scissor)
, fRenderTarget(renderTarget)
- , fPath(path) {}
+ , fPath(path) {
+ this->initClassID<GrStencilPathBatch>();
+ }
bool onCombineIfPossible(GrBatch* t, const GrCaps& caps) override { return false; }