diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-21 03:02:02 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-21 03:02:02 +0000 |
commit | 25c7127c904aa6e03209220e8ecb7128d3595f11 (patch) | |
tree | 629f5428178573deb86f3733cc33de474f2d39f5 /src | |
parent | ed9806f5c972513d4141c9d1b5a04ab78b3af4cb (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13525 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkCanvas.cpp | 8 | ||||
-rw-r--r-- | src/core/SkDevice.cpp | 1 | ||||
-rw-r--r-- | src/core/SkPictureRecord.cpp | 4 |
3 files changed, 6 insertions, 7 deletions
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp index f903fd40ce..80f17cc26c 100644 --- a/src/core/SkCanvas.cpp +++ b/src/core/SkCanvas.cpp @@ -1752,7 +1752,7 @@ void SkCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) { void SkCanvas::onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) { CHECK_SHADER_NOSETCONTEXT(paint); - + SkRect storage; const SkRect* bounds = NULL; if (paint.canComputeFastBounds()) { @@ -1761,13 +1761,13 @@ void SkCanvas::onDrawDRRect(const SkRRect& outer, const SkRRect& inner, return; } } - + LOOPER_BEGIN(paint, SkDrawFilter::kRRect_Type, bounds) - + while (iter.next()) { iter.fDevice->drawDRRect(iter, outer, inner, looper.paint()); } - + LOOPER_END } diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp index 4316c0ca3f..23cf8f0ea2 100644 --- a/src/core/SkDevice.cpp +++ b/src/core/SkDevice.cpp @@ -170,4 +170,3 @@ void SkBaseDevice::drawDRRect(const SkDraw& draw, const SkRRect& outer, const bool pathIsMutable = true; this->drawPath(draw, path, paint, preMatrix, pathIsMutable); } - diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp index aedb7dfd56..be86951ae8 100644 --- a/src/core/SkPictureRecord.cpp +++ b/src/core/SkPictureRecord.cpp @@ -1076,11 +1076,11 @@ void SkPictureRecord::drawRRect(const SkRRect& rrect, const SkPaint& paint) { void SkPictureRecord::onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) { - + #ifdef SK_COLLAPSE_MATRIX_CLIP_STATE fMCMgr.call(SkMatrixClipStateMgr::kOther_CallType); #endif - + // op + paint index + rrects uint32_t initialOffset, size; size = 2 * kUInt32Size + SkRRect::kSizeInMemory * 2; |