| Index: tests/ClipCacheTest.cpp
|
| diff --git a/tests/ClipCacheTest.cpp b/tests/ClipCacheTest.cpp
|
| index 1e195ccc2e8953df63eca1d31dd0cc3dc28bd4cc..0e5fe1e4ac8a0852fdb8fc764cff4e9533864790 100644
|
| --- a/tests/ClipCacheTest.cpp
|
| +++ b/tests/ClipCacheTest.cpp
|
| @@ -85,8 +85,8 @@ static void test_clip_bounds(skiatest::Reporter* reporter, GrContext* context) {
|
| REPORTER_ASSERT(reporter, isIntersectionOfRects);
|
|
|
| // wrap the SkClipStack in a GrClipData
|
| - GrClipData clipData;
|
| - clipData.fClipStack.reset(SkRef(&stack));
|
| + GrClip clipData;
|
| + clipData.setClipStack(&stack);
|
|
|
| SkIRect devGrClipDataBound;
|
| clipData.getConservativeBounds(texture,
|
|
|