From 1a60dab449ee8ab3b4c4330a18fae57b5980363e Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Mon, 24 Dec 2012 02:01:25 +0000 Subject: Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@6936 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkRRect.cpp | 2 +- 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()); -- cgit v1.2.3