diff options
-rw-r--r-- | include/core/SkPicture.h | 2 | ||||
-rw-r--r-- | src/core/SkPath.cpp | 2 | ||||
-rw-r--r-- | tests/PathTest.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h index d513373621..c8245e3f1d 100644 --- a/include/core/SkPicture.h +++ b/include/core/SkPicture.h @@ -161,7 +161,7 @@ protected: static const int PICTURE_VERSION = 9; // fPlayback, fRecord, fWidth & fHeight are protected to allow derived classes to - // install their own SkPicturePlayback-derived players,SkPictureRecord-derived + // install their own SkPicturePlayback-derived players,SkPictureRecord-derived // recorders and set the picture size SkPicturePlayback* fPlayback; SkPictureRecord* fRecord; diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp index d4ef1a6044..d1b90dd6bf 100644 --- a/src/core/SkPath.cpp +++ b/src/core/SkPath.cpp @@ -2501,7 +2501,7 @@ bool SkPath::cheapComputeDirection(Direction* dir) const { int next = find_diff_pt(pts, index, n, 1); SkASSERT(next != index); cross = cross_prod(pts[prev], pts[index], pts[next]); - // if we get a zero and the points are horizontal, then we look at the spread in + // if we get a zero and the points are horizontal, then we look at the spread in // x-direction. We really should continue to walk away from the degeneracy until // there is a divergence. if (0 == cross && pts[prev].fY == pts[index].fY && pts[next].fY == pts[index].fY) { diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index add66a240d..627ed181b0 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -1474,7 +1474,7 @@ static void check_for_circle(skiatest::Reporter* reporter, SkRect rect; REPORTER_ASSERT(reporter, path.isOval(&rect) == expectedCircle); REPORTER_ASSERT(reporter, path.cheapIsDirection(expectedDir)); - + if (expectedCircle) { REPORTER_ASSERT(reporter, rect.height() == rect.width()); } |