Remove possiblity of NULL effect in GrEffectStage

R=jvanverth@google.com

Author: bsalomon@google.com

Review URL: https://chromiumcodereview.appspot.com/18295008

git-svn-id: http://skia.googlecode.com/svn/trunk@10075 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index 55c4c09..17ad606 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -172,8 +172,8 @@
             for (int i = 0; i < numAttribs; ++i) {
                 attribIndices[i] = currAttribIndex++;
             }
-            GrEffectStage* stage = SkNEW(GrEffectStage);
-            stage->setEffect(effect.get(), attribIndices[0], attribIndices[1]);
+            GrEffectStage* stage = SkNEW_ARGS(GrEffectStage,
+                                              (effect.get(), attribIndices[0], attribIndices[1]));
             stages[s] = stage;
         }
         const GrTexture* dstTexture = random.nextBool() ? dummyTextures[0] : dummyTextures[1];