From 5b6f91643d3ad1bdcdd65329d656f0fc43174be3 Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Fri, 12 Oct 2012 02:01:15 +0000 Subject: Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5908 2bbb7eff-a529-9590-31e7-b0007b416f81 --- experimental/Intersection/Simplify.cpp | 2 +- src/core/SkClipStack.cpp | 2 +- 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 ); -- cgit v1.2.3