Index: src/core/SkBBoxRecord.h |
=================================================================== |
--- src/core/SkBBoxRecord.h (revision 9110) |
+++ src/core/SkBBoxRecord.h (working copy) |
@@ -27,7 +27,11 @@ |
* This is called each time we get a bounding box, it will be axis-aligned, |
* in device coordinates, and expanded to include stroking, shadows, etc. |
*/ |
+#if SK_RECORD_BOUNDS_IN_PICTURE |
+ virtual void handleBBox(uint32_t offset) = 0; |
+#else |
virtual void handleBBox(const SkRect& bbox) = 0; |
+#endif |
virtual void drawOval(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE; |
virtual void drawRRect(const SkRRect& rrect, const SkPaint& paint) SK_OVERRIDE; |