diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-13 02:01:33 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-13 02:01:33 +0000 |
commit | 306ab9d5de38f2a547fd1d69aedbe69b5c6617cc (patch) | |
tree | 050e5888100df4a8157fcc493e9153c28b28ffee /src | |
parent | bfa0401ab60b83abf30c7cca4c326282360948fe (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6774 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkCanvas.cpp | 2 | ||||
-rw-r--r-- | src/core/SkPicturePlayback.h | 2 | ||||
-rw-r--r-- | src/core/SkPictureRecord.cpp | 4 | ||||
-rw-r--r-- | src/utils/SkDeferredCanvas.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp index 3efdd22c3c..7d25c2848c 100644 --- a/src/core/SkCanvas.cpp +++ b/src/core/SkCanvas.cpp @@ -1486,7 +1486,7 @@ void SkCanvas::drawOval(const SkRect& oval, const SkPaint& paint) { return; } } - + SkPath path; path.addOval(oval); // call the non-virtual version diff --git a/src/core/SkPicturePlayback.h b/src/core/SkPicturePlayback.h index 13a685fb92..b04ba07281 100644 --- a/src/core/SkPicturePlayback.h +++ b/src/core/SkPicturePlayback.h @@ -148,7 +148,7 @@ private: int index = reader.readInt(); return (*fRegions)[index - 1]; } - + void getText(SkReader32& reader, TextContainer* text) { size_t length = text->fByteLength = reader.readInt(); text->fText = (const char*)reader.skip(length); diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp index 82257c8e57..4010387660 100644 --- a/src/core/SkPictureRecord.cpp +++ b/src/core/SkPictureRecord.cpp @@ -356,7 +356,7 @@ bool SkPictureRecord::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { addRect(rect); addInt(ClipParams_pack(op, doAA)); recordRestoreOffsetPlaceholder(op); - + validate(); return this->INHERITED::clipRect(rect, op, doAA); } @@ -370,7 +370,7 @@ bool SkPictureRecord::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA addRRect(rrect); addInt(ClipParams_pack(op, doAA)); recordRestoreOffsetPlaceholder(op); - + validate(); if (fRecordFlags & SkPicture::kUsePathBoundsForClip_RecordingFlag) { diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp index c827be603c..b0033dfd09 100644 --- a/src/utils/SkDeferredCanvas.cpp +++ b/src/utils/SkDeferredCanvas.cpp @@ -847,7 +847,7 @@ void SkDeferredCanvas::drawRect(const SkRect& rect, const SkPaint& paint) { isPaintOpaque(&paint)) { this->getDeferredDevice()->skipPendingCommands(); } - + AutoImmediateDrawIfNeeded autoDraw(*this, &paint); this->drawingCanvas()->drawRect(rect, paint); this->recordedDrawCommand(); |