Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Unified Diff: src/gpu/batches/GrStencilPathBatch.h

Issue 1300093007: Init class ID in GrStencilPathBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/batches/GrStencilPathBatch.h
diff --git a/src/gpu/batches/GrStencilPathBatch.h b/src/gpu/batches/GrStencilPathBatch.h
index 908dd1f59324d078c496dd7d92073504bf564e5e..bafcfffc0e3887b31ca4e4e4a16510490ca9814c 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; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698