| Index: src/core/SkMiniRecorder.h
|
| diff --git a/src/core/SkMiniRecorder.h b/src/core/SkMiniRecorder.h
|
| index 023e2ad55a73d64aff7e9547f066c739105a350e..5b68fc22f843e4947462a2a7fba32e390f5b5c02 100644
|
| --- a/src/core/SkMiniRecorder.h
|
| +++ b/src/core/SkMiniRecorder.h
|
| @@ -20,8 +20,8 @@ public:
|
| ~SkMiniRecorder();
|
|
|
| // Try to record an op. Returns false on failure.
|
| - bool drawBitmapRectToRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
|
| - const SkPaint*, SkCanvas::DrawBitmapRectFlags);
|
| + 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 +38,7 @@ public:
|
| private:
|
| enum class State {
|
| kEmpty,
|
| - kDrawBitmapRectToRectFixedSize,
|
| + kDrawBitmapRectFixedSize,
|
| kDrawPath,
|
| kDrawRect,
|
| kDrawTextBlob,
|
| @@ -50,7 +50,7 @@ private:
|
| struct Max { static const size_t val = A > B ? A : B; };
|
|
|
| static const size_t kInlineStorage =
|
| - Max<sizeof(SkRecords::DrawBitmapRectToRectFixedSize),
|
| + Max<sizeof(SkRecords::DrawBitmapRectFixedSize),
|
| Max<sizeof(SkRecords::DrawPath),
|
| Max<sizeof(SkRecords::DrawRect),
|
| sizeof(SkRecords::DrawTextBlob)>::val>::val>::val;
|
|
|