diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-24 02:01:25 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-24 02:01:25 +0000 |
commit | 1a60dab449ee8ab3b4c4330a18fae57b5980363e (patch) | |
tree | ae3eb881b96991a2cf2da70afa935e7cc6d4a6b0 | |
parent | bcbef579d02e255b9a29b5db2d6804f4bfc76d1c (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6936 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/core/SkRRect.cpp | 2 | ||||
-rw-r--r-- | tests/RoundRectTest.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkRRect.cpp b/src/core/SkRRect.cpp index f27400c7c0..a1c4e32618 100644 --- a/src/core/SkRRect.cpp +++ b/src/core/SkRRect.cpp @@ -231,7 +231,7 @@ void SkRRect::computeType() const { void SkRRect::inset(SkScalar dx, SkScalar dy, SkRRect* dst) const { SkRect r = fRect; - + r.inset(dx, dy); if (r.isEmpty()) { dst->setEmpty(); diff --git a/tests/RoundRectTest.cpp b/tests/RoundRectTest.cpp index 7a2c66e4cf..98e4e5d5b4 100644 --- a/tests/RoundRectTest.cpp +++ b/tests/RoundRectTest.cpp @@ -21,7 +21,7 @@ static void test_inset(skiatest::Reporter* reporter) { rr.inset(20, 20, &rr2); REPORTER_ASSERT(reporter, rr2.isRect()); - + rr.inset(r.width()/2, r.height()/2, &rr2); REPORTER_ASSERT(reporter, rr2.isEmpty()); |