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