Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@5908 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2012-10-12 02:01:15 +00:00
parent 8cef67aada
commit 5b6f91643d
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);
}
}

View File

@ -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 );