aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2015-08-19 09:44:48 -0400
committerGravatar Brian Salomon <bsalomon@google.com>2015-08-19 09:44:48 -0400
commit6458b6f0a8e8b1e16ec1640d17fe28ab05c8a95b (patch)
treebb6ec869ed6e9bf84f7b7caf1f29d379ab7e73e1
parentcb9241baddcca38aa80e43125dc72a99b98bb8ef (diff)
Init class ID in GrStencilPathBatch
TBR=joshualitt@google.com Review URL: https://codereview.chromium.org/1300093007
-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; }