diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-12 02:01:15 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-12 02:01:15 +0000 |
commit | 5b6f91643d3ad1bdcdd65329d656f0fc43174be3 (patch) | |
tree | 42cf0339fc55032ff494573390fb884ba5dc434a | |
parent | 8cef67aada2e8776a6741dce6211dc77fc9272df (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5908 2bbb7eff-a529-9590-31e7-b0007b416f81
-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 ); |