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);