diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-31 15:18:21 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-31 15:18:21 +0000 |
commit | 7b11289b4e4d117bbcee6d2460b057d0fcf6e437 (patch) | |
tree | 0dab0504a918dc628859c2bbef319d937440592b /tests/ClipStackTest.cpp | |
parent | a7ffb956cb8358241f11dbb48170cbd7df191c85 (diff) |
Added dev- & canv- prefixes to Ganesh bounding boxes to indicate coordinate space
http://codereview.appspot.com/6457061/
git-svn-id: http://skia.googlecode.com/svn/trunk@4856 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/ClipStackTest.cpp')
-rw-r--r-- | tests/ClipStackTest.cpp | 6 |
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(); |