From 11f869277c81a232fd4e40eca41e6f71b95b4b17 Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Fri, 31 Aug 2012 17:14:46 +0000 Subject: Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5373 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkPictureRecord.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core') 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); -- cgit v1.2.3