Chromium Code Reviews| Index: tools/PictureRenderer.h |
| diff --git a/tools/PictureRenderer.h b/tools/PictureRenderer.h |
| index 67392774ba192b421b9b5432474961e5d3598221..d2e9f3bfa3729a915d21c4478fb6aa25817b840b 100644 |
| --- a/tools/PictureRenderer.h |
| +++ b/tools/PictureRenderer.h |
| @@ -83,7 +83,10 @@ public: |
| kQuadTree_BBoxHierarchyType, |
| kRTree_BBoxHierarchyType, |
| kTileGrid_BBoxHierarchyType, |
| + |
| + kLast_BBoxHierarchyType = kTileGrid_BBoxHierarchyType, |
| }; |
| + static const int kBBoxHierarchyTypeCount = kLast_BBoxHierarchyType + 1; |
|
reed1
2014/03/07 13:39:49
stylistically, I'm not a fan of these in public he
mtklein
2014/03/07 13:41:15
If you can get away with it, I'd recommend using o
iancottrell
2014/03/07 14:52:47
Removed the count.
kLast seemed to be the standard
|
| // this uses SkPaint::Flags as a base and adds additional flags |
| enum DrawFilterFlags { |