diff options
Diffstat (limited to 'tests/ProcessorTest.cpp')
-rw-r--r-- | tests/ProcessorTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/ProcessorTest.cpp b/tests/ProcessorTest.cpp index e52070b7d2..3916436cfc 100644 --- a/tests/ProcessorTest.cpp +++ b/tests/ProcessorTest.cpp @@ -29,9 +29,7 @@ public: DEFINE_OP_CLASS_ID static std::unique_ptr<GrDrawOp> Make(GrContext* context, std::unique_ptr<GrFragmentProcessor> fp) { - GrOpMemoryPool* pool = context->contextPriv().opMemoryPool(); - - return pool->allocate<TestOp>(std::move(fp)); + return std::unique_ptr<GrDrawOp>(new TestOp(std::move(fp))); } const char* name() const override { return "TestOp"; } |