aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ClipStackTest.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-31 15:18:21 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-31 15:18:21 +0000
commit7b11289b4e4d117bbcee6d2460b057d0fcf6e437 (patch)
tree0dab0504a918dc628859c2bbef319d937440592b /tests/ClipStackTest.cpp
parenta7ffb956cb8358241f11dbb48170cbd7df191c85 (diff)
Added dev- & canv- prefixes to Ganesh bounding boxes to indicate coordinate space
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 160c5440b1..afbbd7e235 100644
--- a/tests/ClipStackTest.cpp
+++ b/tests/ClipStackTest.cpp
@@ -235,7 +235,7 @@ static void test_bounds(skiatest::Reporter* reporter, bool useRects) {
clipB.addRoundRect(rectB, SkIntToScalar(5), SkIntToScalar(5));
SkClipStack stack;
- SkRect bound;
+ SkRect devClipBound;
bool isIntersectionOfRects = false;
int testCase = 0;
@@ -262,7 +262,7 @@ static void test_bounds(skiatest::Reporter* reporter, bool useRects) {
REPORTER_ASSERT(reporter, !stack.isWideOpen());
- stack.getConservativeBounds(0, 0, 100, 100, &bound,
+ stack.getConservativeBounds(0, 0, 100, 100, &devClipBound,
&isIntersectionOfRects);
if (useRects) {
@@ -273,7 +273,7 @@ static void test_bounds(skiatest::Reporter* reporter, bool useRects) {
}
SkASSERT(testCase < gNumCases);
- REPORTER_ASSERT(reporter, bound == gAnswerRectsBW[testCase]);
+ REPORTER_ASSERT(reporter, devClipBound == gAnswerRectsBW[testCase]);
++testCase;
stack.restore();