Index: src/core/SkRecordDraw.cpp |
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp |
index c3c767ce77a6fd571f68762559799b68de32fa53..5af00b62a16c90ccd05927d7c61593094a3e75b5 100644 |
--- a/src/core/SkRecordDraw.cpp |
+++ b/src/core/SkRecordDraw.cpp |
@@ -19,18 +19,6 @@ void SkRecordDraw(const SkRecord& record, SkCanvas* canvas, SkDrawPictureCallbac |
namespace SkRecords { |
-bool Draw::skip(const PairedPushCull& r) { |
- if (fCanvas->quickReject(r.base->rect)) { |
- fIndex += r.skip; |
- return true; |
- } |
- return false; |
-} |
- |
-bool Draw::skip(const BoundedDrawPosTextH& r) { |
- return fCanvas->quickRejectY(r.minY, r.maxY); |
-} |
- |
// FIXME: SkBitmaps are stateful, so we need to copy them to play back in multiple threads. |
static SkBitmap shallow_copy(const SkBitmap& bitmap) { |
return bitmap; |
@@ -77,7 +65,4 @@ DRAW(DrawVertices, drawVertices(r.vmode, r.vertexCount, r.vertices, r.texs, r.co |
r.xmode.get(), r.indices, r.indexCount, r.paint)); |
#undef DRAW |
-template <> void Draw::draw(const PairedPushCull& r) { this->draw(*r.base); } |
-template <> void Draw::draw(const BoundedDrawPosTextH& r) { this->draw(*r.base); } |
- |
} // namespace SkRecords |