From 8e7d37d8fea8c002c152a1509c461dba87d9eaca Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Wed, 28 May 2014 03:06:06 +0000 Subject: [PATCH] Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@14912 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/GrDrawTarget.cpp | 6 +++--- src/lazy/SkDiscardablePixelRef.cpp | 1 - tests/PictureTest.cpp | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp index a5b6ac6f03..b35865c264 100644 --- a/src/gpu/GrDrawTarget.cpp +++ b/src/gpu/GrDrawTarget.cpp @@ -1056,7 +1056,7 @@ GrDrawTargetCaps& GrDrawTargetCaps::operator=(const GrDrawTargetCaps& other) { memcpy(fConfigRenderSupport, other.fConfigRenderSupport, sizeof(fConfigRenderSupport)); memcpy(fCompressedFormatSupport, other.fCompressedFormatSupport, - sizeof(fCompressedFormatSupport)); + sizeof(fCompressedFormatSupport)); return *this; } @@ -1145,8 +1145,8 @@ SkString GrDrawTargetCaps::dump() const { for (size_t i = 0; i < SK_ARRAY_COUNT(kCompressedFormatNames); ++i) { r.appendf("%s Compressed Texture Support: %s\n", - kCompressedFormatNames[i], - gNY[fCompressedFormatSupport[i]]); + kCompressedFormatNames[i], + gNY[fCompressedFormatSupport[i]]); } return r; diff --git a/src/lazy/SkDiscardablePixelRef.cpp b/src/lazy/SkDiscardablePixelRef.cpp index 267e097245..ccf812ce6f 100644 --- a/src/lazy/SkDiscardablePixelRef.cpp +++ b/src/lazy/SkDiscardablePixelRef.cpp @@ -101,4 +101,3 @@ bool SkInstallDiscardablePixelRef(SkImageGenerator* generator, SkBitmap* dst, bool SkInstallDiscardablePixelRef(SkImageGenerator* generator, SkBitmap* dst) { return SkInstallDiscardablePixelRef(generator, dst, NULL); } - diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp index ad23fd39ec..98cd90e950 100644 --- a/tests/PictureTest.cpp +++ b/tests/PictureTest.cpp @@ -957,7 +957,7 @@ private: typedef SkCanvas INHERITED; }; -void check_save_state(skiatest::Reporter* reporter, SkPicture* picture, +void check_save_state(skiatest::Reporter* reporter, SkPicture* picture, unsigned int numSaves, unsigned int numSaveLayers, unsigned int numRestores) { SaveCountingCanvas canvas(picture->width(), picture->height()); @@ -1132,7 +1132,7 @@ static void test_unbalanced_save_restores(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); set_canvas_to_save_count_4(&testCanvas); - // Check that serializing a mid-recording picture doesn't result in unbalanced + // Check that serializing a mid-recording picture doesn't result in unbalanced // saves/restores SkDynamicMemoryWStream wStream; p.serialize(&wStream);