| Index: tests/GLProgramsTest.cpp
|
| diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
|
| index 16d44fd9df1e852cce8cecae8b9e6c2a647f3968..9b54fa7e9d43f6396e1dfe876388a7ede0536883 100644
|
| --- a/tests/GLProgramsTest.cpp
|
| +++ b/tests/GLProgramsTest.cpp
|
| @@ -249,7 +249,7 @@ bool GrDrawTarget::programUnitTest(int maxStages) {
|
|
|
| // wrap the SkClipStack in a GrClipData
|
| GrClipData clipData;
|
| - clipData.fClipStack = &stack;
|
| + clipData.fClipStack.reset(SkRef(&stack));
|
| this->setClip(&clipData);
|
|
|
| SkRandom random;
|
|
|