diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-21 02:01:01 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-21 02:01:01 +0000 |
commit | 4c5ea4480341f0f663b51e9d78b948bc0a785f4d (patch) | |
tree | 6a0f5e1c5ec7bd399b6fcc9bfd7e8c9b04825bba | |
parent | a38dfb6981379770221b16b5ec036b08f3005973 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5635 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | bench/benchmain.cpp | 2 | ||||
-rw-r--r-- | src/pdf/SkPDFDocument.cpp | 2 | ||||
-rw-r--r-- | tests/CanvasTest.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp index 19ff176031..dc9b2572bd 100644 --- a/bench/benchmain.cpp +++ b/bench/benchmain.cpp @@ -770,7 +770,7 @@ int main (int argc, char * const argv[]) { SkPicture pictureRecordFrom; SkPicture pictureRecordTo; switch(benchMode) { - case kDeferredSilent_benchModes: + case kDeferredSilent_benchModes: case kDeferred_benchModes: canvas = new SkDeferredCanvas(device); break; diff --git a/src/pdf/SkPDFDocument.cpp b/src/pdf/SkPDFDocument.cpp index d47f1f3560..7e064ee19d 100644 --- a/src/pdf/SkPDFDocument.cpp +++ b/src/pdf/SkPDFDocument.cpp @@ -75,7 +75,7 @@ SkPDFDocument::~SkPDFDocument() { fPageTree.safeUnrefAll(); fPageResources.safeUnrefAll(); fSubstitutes.safeUnrefAll(); - + fDocCatalog->unref(); SkSafeUnref(fTrailerDict); } diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp index fd62893392..ca213f29fc 100644 --- a/tests/CanvasTest.cpp +++ b/tests/CanvasTest.cpp @@ -758,7 +758,7 @@ public: deferredCanvas.flush(); } - testStep->setAssertMessageFormat( + testStep->setAssertMessageFormat( silent ? kDeferredPostSilentFlushPlaybackAssertMessageFormat : kDeferredPostFlushPlaybackAssertMessageFormat); AssertCanvasStatesEqual(reporter, |