aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GLProgramsTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GLProgramsTest.cpp')
-rw-r--r--tests/GLProgramsTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index 355cadebf0..252288bf40 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -44,9 +44,9 @@ const GrEffect* create_random_effect(StageDesc* stageDesc,
// TODO: Remove GrRandom.
SkRandom sk_random;
sk_random.setSeed(random->nextU());
- GrEffect* stage = GrEffectTestFactory::CreateStage(&sk_random, context, dummyTextures);
- GrAssert(stage);
- return stage;
+ GrEffect* effect = GrEffectTestFactory::CreateStage(&sk_random, context, dummyTextures);
+ GrAssert(effect);
+ return effect;
}
}