diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-31 17:14:46 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-31 17:14:46 +0000 |
commit | 11f869277c81a232fd4e40eca41e6f71b95b4b17 (patch) | |
tree | 332c59af60a1ab61f47a759a4440ec9bec331a87 /src/core | |
parent | 8e073ba2d63f4d2aab7532f1421df00bb1f88003 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5373 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkPictureRecord.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp index b4c4bbc98b..10de946080 100644 --- a/src/core/SkPictureRecord.cpp +++ b/src/core/SkPictureRecord.cpp @@ -60,7 +60,7 @@ int SkPictureRecord::save(SaveFlags flags) { // record the offset to us, making it non-positive to distinguish a save // from a clip entry. fRestoreOffsetStack.push(-(int32_t)fWriter.size()); - + addDraw(SAVE); addInt(flags); @@ -73,7 +73,7 @@ int SkPictureRecord::saveLayer(const SkRect* bounds, const SkPaint* paint, // record the offset to us, making it non-positive to distinguish a save // from a clip entry. fRestoreOffsetStack.push(-(int32_t)fWriter.size()); - + addDraw(SAVE_LAYER); addRectPtr(bounds); addPaintPtr(paint); @@ -190,7 +190,7 @@ static bool collapseSaveClipRestore(SkWriter32* writer, int32_t offset) { } offset += opSize; } - + #ifdef TRACK_COLLAPSE_STATS gCollapseCount += 1; SkDebugf("Collapse [%d out of %d] %g%spn", gCollapseCount, gCollapseCalls, @@ -300,7 +300,7 @@ void SkPictureRecord::fillRestoreOffsetPlaceholdersForCurrentStackLevel( offset = *peek; *peek = restoreOffset; } - + #ifdef SK_DEBUG // assert that the final offset value points to a save verb uint32_t drawOp = *fWriter.peek32(-offset); |