Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Unified Diff: tests/ClipCacheTest.cpp

Issue 936943002: Pass clip to context (Closed) Base URL: https://skia.googlesource.com/skia.git@pass_down_rendertarget
Patch Set: feedback inc Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/ClipCacheTest.cpp
diff --git a/tests/ClipCacheTest.cpp b/tests/ClipCacheTest.cpp
index 0e5fe1e4ac8a0852fdb8fc764cff4e9533864790..3d3fa95c0390ed82f53de9ec99b6272eb126f0a1 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);
}

Powered by Google App Engine
This is Rietveld 408576698