| Index: include/private/SkMiniRecorder.h
|
| diff --git a/include/private/SkMiniRecorder.h b/include/private/SkMiniRecorder.h
|
| index 2f5612ca39f7ba629192f97cd8eb307dae897ce7..6365ebc65b9f49ad9afcec9a3121ca0a99f89c5e 100644
|
| --- a/include/private/SkMiniRecorder.h
|
| +++ b/include/private/SkMiniRecorder.h
|
| @@ -20,8 +20,6 @@ public:
|
| ~SkMiniRecorder();
|
|
|
| // Try to record an op. Returns false on failure.
|
| - bool drawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
|
| - const SkPaint*, SkCanvas::SrcRectConstraint);
|
| bool drawPath(const SkPath&, const SkPaint&);
|
| bool drawRect(const SkRect&, const SkPaint&);
|
| bool drawTextBlob(const SkTextBlob*, SkScalar x, SkScalar y, const SkPaint&);
|
| @@ -38,7 +36,6 @@ public:
|
| private:
|
| enum class State {
|
| kEmpty,
|
| - kDrawBitmapRectFixedSize,
|
| kDrawPath,
|
| kDrawRect,
|
| kDrawTextBlob,
|
| @@ -50,10 +47,9 @@ private:
|
| struct Max { static const size_t val = A > B ? A : B; };
|
|
|
| static const size_t kInlineStorage =
|
| - Max<sizeof(SkRecords::DrawBitmapRectFixedSize),
|
| Max<sizeof(SkRecords::DrawPath),
|
| Max<sizeof(SkRecords::DrawRect),
|
| - sizeof(SkRecords::DrawTextBlob)>::val>::val>::val;
|
| + sizeof(SkRecords::DrawTextBlob)>::val>::val;
|
| SkAlignedSStorage<kInlineStorage> fBuffer;
|
| };
|
|
|
|
|