aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPath.h
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-04-09 16:07:11 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-10 11:53:53 +0000
commit5c715188470e97e4f573ffe78b7ee9451aaa7612 (patch)
treeda999fa13996a8fbae6df7dc320c25dd6c6e8103 /include/core/SkPath.h
parent84660e986d10489c9c29613dd4df38771c7d64f8 (diff)
fix path to rect when missing close verb
R=brianosman@google.com,robertphillips@google.com TBR=reed@google.com Bug: 824145,skia:7792 Change-Id: I24f121cfa7d437c95b94bd917d3c4888a10c519e Reviewed-on: https://skia-review.googlesource.com/119569 Commit-Queue: Cary Clark <caryclark@skia.org> Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/core/SkPath.h')
-rw-r--r--include/core/SkPath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index 2aab341505..895cf1ff75 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -1674,7 +1674,7 @@ private:
SkDEBUGCODE(void validateRef() const { fPathRef->validate(); } )
bool isRectContour(bool allowPartial, int* currVerb, const SkPoint** pts,
- bool* isClosed, Direction* direction) const;
+ bool* isClosed, Direction* direction, SkRect* rect) const;
// called by stroker to see if all points (in the last contour) are equal and worthy of a cap
bool isZeroLengthSincePoint(int startPtIndex) const;