Chromium Code Reviews| Index: src/core/SkRecords.h |
| diff --git a/src/core/SkRecords.h b/src/core/SkRecords.h |
| index b98b93c82736dfb73883061ab420c2915afa9a95..074a560c04f7f1ce6dbc8c2fe16b9cc5c8bbbb02 100644 |
| --- a/src/core/SkRecords.h |
| +++ b/src/core/SkRecords.h |
| @@ -10,6 +10,7 @@ |
| #include "SkCanvas.h" |
| #include "SkDrawable.h" |
| +#include "SkMatrix.h" |
| #include "SkPathPriv.h" |
| #include "SkPicture.h" |
| #include "SkRSXform.h" |
| @@ -289,7 +290,7 @@ RECORD5(DrawBitmapRectToRectFixedSize, SkPaint, paint, |
| SkRect, dst, |
| SkCanvas::DrawBitmapRectFlags, flags); |
| RECORD3(DrawDRRect, SkPaint, paint, SkRRect, outer, SkRRect, inner); |
| -RECORD2(DrawDrawable, SkRect, worstCaseBounds, int32_t, index); |
| +RECORD3(DrawDrawable, Optional<SkMatrix>, matrix, SkRect, worstCaseBounds, int32_t, index); |
|
mtklein
2015/07/07 17:07:06
Ooh, actually, not lgtm.
Slightly better to use T
|
| RECORD4(DrawImage, Optional<SkPaint>, paint, |
| RefBox<const SkImage>, image, |
| SkScalar, left, |