Index: tests/ClipBoundsTest.cpp |
diff --git a/tests/ClipBoundsTest.cpp b/tests/ClipBoundsTest.cpp |
index 5660afdc27aa2cdb00b422509230113d3cbb1792..246cf6e60c514377bf021da5ee3ad69c41ca929d 100644 |
--- a/tests/ClipBoundsTest.cpp |
+++ b/tests/ClipBoundsTest.cpp |
@@ -40,8 +40,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrClipBounds, reporter, ctxInfo) { |
REPORTER_ASSERT(reporter, isIntersectionOfRects); |
// wrap the SkClipStack in a GrClip |
- GrClip clipData; |
- clipData.setClipStack(&stack); |
+ GrClipStackClip clipData(&stack); |
SkIRect devGrClipBound; |
clipData.getConservativeBounds(kXSize, kYSize, |