Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 4b3bcdffbe66d31ff2467a35e79a0681f1387f72..7932c0d42292af0ed9ba8d9072481b48bc1675c7 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -62,8 +62,8 @@ private: |
class BigKeyProcessor : public GrFragmentProcessor { |
public: |
static GrFragmentProcessor* Create() { |
- GR_CREATE_STATIC_PROCESSOR(gBigKeyProcessor, BigKeyProcessor, ()) |
- return SkRef(gBigKeyProcessor); |
+ static BigKeyProcessor gBigKeyProcessor; |
+ return SkRef(&gBigKeyProcessor); |
} |
const char* name() const override { return "Big Ole Key"; } |