diff options
-rw-r--r-- | experimental/Intersection/Simplify.cpp | 2 | ||||
-rw-r--r-- | src/core/SkClipStack.cpp | 2 | ||||
-rw-r--r-- | tests/DeferredCanvasTest.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/experimental/Intersection/Simplify.cpp b/experimental/Intersection/Simplify.cpp index 788da5e923..ea71f58166 100644 --- a/experimental/Intersection/Simplify.cpp +++ b/experimental/Intersection/Simplify.cpp @@ -3737,7 +3737,7 @@ static void debugShowQuadIntersection(int pts, const Work& wt, SkDebugf("%s no intersect (%1.9g,%1.9g %1.9g,%1.9g %1.9g,%1.9g)" " (%1.9g,%1.9g %1.9g,%1.9g %1.9g,%1.9g)\n", __FUNCTION__, wt.pts()[0].fX, wt.pts()[0].fY, - wt.pts()[1].fX, wt.pts()[1].fY, wt.pts()[2].fX, wt.pts()[2].fY, + wt.pts()[1].fX, wt.pts()[1].fY, wt.pts()[2].fX, wt.pts()[2].fY, wn.pts()[0].fX, wn.pts()[0].fY, wn.pts()[1].fX, wn.pts()[1].fY, wt.pts()[2].fX, wt.pts()[2].fY ); return; diff --git a/src/core/SkClipStack.cpp b/src/core/SkClipStack.cpp index 6fca0fc89e..0f2d632a84 100644 --- a/src/core/SkClipStack.cpp +++ b/src/core/SkClipStack.cpp @@ -581,7 +581,7 @@ bool SkClipStack::intersectRectWithClip(SkRect* rect) const { // could clip here. Same for y. But we don't bother to check. return true; } - } else { + } else { return rect->intersect(bounds); } } diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp index 80747a47aa..2c27971f09 100644 --- a/tests/DeferredCanvasTest.cpp +++ b/tests/DeferredCanvasTest.cpp @@ -101,7 +101,7 @@ static void TestDeferredCanvasFreshFrame(skiatest::Reporter* reporter) { canvas.drawRect(fullRect, paint); REPORTER_ASSERT(reporter, canvas.isFreshFrame()); } - { + { SkPaint paint; paint.setStyle( SkPaint::kFill_Style ); paint.setAlpha( 255 ); |