aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Yuqian Li <liyuqian@google.com>2017-09-01 14:42:49 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-01 19:10:59 +0000
commit7b6d64ad8880226fcf0a8ffaab7e0afcfce74948 (patch)
tree3af5e3bbac3aaf751933c84bd7d2da8c23371348
parentebef5ff355b7c14bda99c9b6a97555d1d55c4da3 (diff)
Remove unused drawPath
There is no drawPath(path, paint, blitter) call. The drawPath(path, paint) call can be fulfilled by drawPath(path, paint, prePathMatrix, pathIsMutable). Bug: skia: Change-Id: I3b5ae2a6b7392693caf80b211c63ec1ac25a22da Reviewed-on: https://skia-review.googlesource.com/42100 Reviewed-by: Cary Clark <caryclark@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>
-rw-r--r--src/core/SkDraw.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/SkDraw.h b/src/core/SkDraw.h
index ab1fda75c7..524f300e42 100644
--- a/src/core/SkDraw.h
+++ b/src/core/SkDraw.h
@@ -52,15 +52,10 @@ public:
* pre-concated with the current matrix.
*/
void drawPath(const SkPath& path, const SkPaint& paint,
- const SkMatrix* prePathMatrix, bool pathIsMutable) const {
+ const SkMatrix* prePathMatrix = nullptr, bool pathIsMutable = false) const {
this->drawPath(path, paint, prePathMatrix, pathIsMutable, false);
}
- void drawPath(const SkPath& path, const SkPaint& paint,
- SkBlitter* customBlitter = nullptr) const {
- this->drawPath(path, paint, nullptr, false, false, customBlitter);
- }
-
/* If dstOrNull is null, computes a dst by mapping the bitmap's bounds through the matrix. */
void drawBitmap(const SkBitmap&, const SkMatrix&, const SkRect* dstOrNull,
const SkPaint&) const;