| Index: tests/GLProgramsTest.cpp
|
| diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
|
| index 3df08a7f5b59f031119248218f29dd643b810b83..64c8559196d5f27828acf2c35c7973181d75364e 100644
|
| --- a/tests/GLProgramsTest.cpp
|
| +++ b/tests/GLProgramsTest.cpp
|
| @@ -76,16 +76,16 @@ void GrGLProgramDesc::setRandom(SkRandom* random,
|
| bool vertexCode = false;
|
| int numStages = numColorStages + numCoverageStages;
|
| for (int s = 0; s < numStages; ++s) {
|
| - const GrBackendEffectFactory& factory = (*stages[s]->getEffect())->getFactory();
|
| + const GrBackendEffectFactory& factory = stages[s]->getEffect()->getFactory();
|
| GrDrawEffect drawEffect(*stages[s], useLocalCoords);
|
| this->effectKeys()[s] = factory.glEffectKey(drawEffect, gpu->glCaps());
|
| - if ((*stages[s]->getEffect())->willReadDstColor()) {
|
| + if (stages[s]->getEffect()->willReadDstColor()) {
|
| dstRead = true;
|
| }
|
| - if ((*stages[s]->getEffect())->willReadFragmentPosition()) {
|
| + if (stages[s]->getEffect()->willReadFragmentPosition()) {
|
| fragPos = true;
|
| }
|
| - if ((*stages[s]->getEffect())->hasVertexCode()) {
|
| + if (stages[s]->getEffect()->hasVertexCode()) {
|
| vertexCode = true;
|
| }
|
| }
|
|
|