aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ClipCacheTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ClipCacheTest.cpp')
-rw-r--r--tests/ClipCacheTest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ClipCacheTest.cpp b/tests/ClipCacheTest.cpp
index 0e5fe1e4ac..3d3fa95c03 100644
--- a/tests/ClipCacheTest.cpp
+++ b/tests/ClipCacheTest.cpp
@@ -84,17 +84,17 @@ static void test_clip_bounds(skiatest::Reporter* reporter, GrContext* context) {
REPORTER_ASSERT(reporter, screen == devStackBounds);
REPORTER_ASSERT(reporter, isIntersectionOfRects);
- // wrap the SkClipStack in a GrClipData
+ // wrap the SkClipStack in a GrClip
GrClip clipData;
clipData.setClipStack(&stack);
- SkIRect devGrClipDataBound;
+ SkIRect devGrClipBound;
clipData.getConservativeBounds(texture,
- &devGrClipDataBound,
+ &devGrClipBound,
&isIntersectionOfRects);
- // make sure that GrClipData is behaving itself
- REPORTER_ASSERT(reporter, intScreen == devGrClipDataBound);
+ // make sure that GrClip is behaving itself
+ REPORTER_ASSERT(reporter, intScreen == devGrClipBound);
REPORTER_ASSERT(reporter, isIntersectionOfRects);
}