diff options
-rw-r--r-- | include/core/SkClipStack.h | 2 | ||||
-rw-r--r-- | include/core/SkRect.h | 4 | ||||
-rw-r--r-- | samplecode/SamplePictFile.cpp | 2 | ||||
-rw-r--r-- | src/gpu/GrClipMaskManager.cpp | 2 | ||||
-rw-r--r-- | tests/InfRectTest.cpp | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/include/core/SkClipStack.h b/include/core/SkClipStack.h index b420c9a7bd..a6b5f524d8 100644 --- a/include/core/SkClipStack.h +++ b/include/core/SkClipStack.h @@ -138,7 +138,7 @@ public: * Gets the bounds of the clip element, either the rect or path bounds. */ const SkRect& getBounds() const; - /** + /** * Returns true if the clip element is a path that is inverse filled */ bool isInverseFilled() const; diff --git a/include/core/SkRect.h b/include/core/SkRect.h index a754719680..21ea84ff58 100644 --- a/include/core/SkRect.h +++ b/include/core/SkRect.h @@ -79,7 +79,7 @@ struct SK_API SkIRect { * (right + left) / 2 when the sum is negative. */ int centerX() const { return (fRight + fLeft) >> 1; } - + /** * Since the center of an integer rect may fall on a factional value, this * method is defined to return (bottom + top) >> 1 @@ -88,7 +88,7 @@ struct SK_API SkIRect { * (bottom + top) / 2 when the sum is negative. */ int centerY() const { return (fBottom + fTop) >> 1; } - + /** * Return true if the rectangle's width or height are <= 0 */ diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp index ce809492b8..22c81d1d94 100644 --- a/samplecode/SamplePictFile.cpp +++ b/samplecode/SamplePictFile.cpp @@ -45,7 +45,7 @@ class PictFileView : public SampleView { } else { SkFILEStream stream(path); if (stream.isValid()) { - pic = SkNEW_ARGS(SkPicture, + pic = SkNEW_ARGS(SkPicture, (&stream, NULL, &SkImageDecoder::DecodeStream)); } diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp index 328a448d70..6cd02bbc68 100644 --- a/src/gpu/GrClipMaskManager.cpp +++ b/src/gpu/GrClipMaskManager.cpp @@ -631,7 +631,7 @@ bool GrClipMaskManager::createAlphaClipMask(const GrClipData& clipDataIn, accum->asRenderTarget()); GR_DEBUGCODE(bool accumClearedToZero = !clearToInside;) - + GrAutoScratchTexture temp; bool first = true; diff --git a/tests/InfRectTest.cpp b/tests/InfRectTest.cpp index f1b2677236..ae4ea60cd4 100644 --- a/tests/InfRectTest.cpp +++ b/tests/InfRectTest.cpp @@ -36,7 +36,7 @@ static void test_center(skiatest::Reporter* reporter) { SkRandom rand; for (int i = 0; i < 10000; ++i) { SkIRect r; - + r.set(rand.nextS() >> 2, rand.nextS() >> 2, rand.nextS() >> 2, rand.nextS() >> 2); int cx = r.centerX(); @@ -79,7 +79,7 @@ static void TestInfRect(skiatest::Reporter* reporter) { check_invalid(reporter, small, invalid[i], big, big); check_invalid(reporter, invalid[i], small, big, big); } - + test_center(reporter); } |