aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-07-26 12:21:10 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-26 12:21:10 -0700
commite93393b311ce88a15f64bdde58c05ea874f881f4 (patch)
treeba1f70a210cb36774d3f58f12b6829df2de94cf2 /include
parentd1bdd1fcbd308afb9903f39d231742f5c951cf07 (diff)
don't specialize drawBitmapRect for minirecorder; no longer called by blink
Diffstat (limited to 'include')
-rw-r--r--include/private/SkMiniRecorder.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/private/SkMiniRecorder.h b/include/private/SkMiniRecorder.h
index 2f5612ca39..6365ebc65b 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;
};