aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ClipStackTest.cpp
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-27 02:01:19 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-27 02:01:19 +0000
commit8ccf590b89cec1a5974b6f4b7b49ca67cc5036cf (patch)
treeebc489075b8e2f6fa7807672e3b9d1689382820e /tests/ClipStackTest.cpp
parente7b3d29a1289e64130dd0ec905d94feedc9d1064 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6556 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/ClipStackTest.cpp')
-rw-r--r--tests/ClipStackTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ClipStackTest.cpp b/tests/ClipStackTest.cpp
index 272ba1c3c2..8e4d301c97 100644
--- a/tests/ClipStackTest.cpp
+++ b/tests/ClipStackTest.cpp
@@ -719,7 +719,7 @@ static void print_clip(const SkClipStack::Iter::Clip& clip) {
static void test_reduced_clip_stack(skiatest::Reporter* reporter) {
// We construct random clip stacks, reduce them, and then rasterize both versions to verify that
- // they are equal.
+ // they are equal.
// All the clip elements will be contained within these bounds.
static const SkRect kBounds = SkRect::MakeWH(100, 100);
@@ -768,10 +768,10 @@ static void test_reduced_clip_stack(skiatest::Reporter* reporter) {
continue;
}
}
-
+
// saves can change the clip stack behavior when an element is added.
bool doSave = r.nextBool();
-
+
SkSize size = SkSize::Make(
SkScalarFloorToScalar(SkScalarMul(kBounds.width(), r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac))),
SkScalarFloorToScalar(SkScalarMul(kBounds.height(), r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac))));