diff options
Diffstat (limited to 'src/gpu/ops/GrDebugMarkerOp.cpp')
-rw-r--r-- | src/gpu/ops/GrDebugMarkerOp.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/ops/GrDebugMarkerOp.cpp b/src/gpu/ops/GrDebugMarkerOp.cpp index 712e625d0b..ed54965e10 100644 --- a/src/gpu/ops/GrDebugMarkerOp.cpp +++ b/src/gpu/ops/GrDebugMarkerOp.cpp @@ -17,9 +17,7 @@ std::unique_ptr<GrOp> GrDebugMarkerOp::Make(GrContext* context, GrRenderTargetProxy* proxy, const SkString& str) { - GrOpMemoryPool* pool = context->contextPriv().opMemoryPool(); - - return pool->allocate<GrDebugMarkerOp>(proxy, str); + return std::unique_ptr<GrOp>(new GrDebugMarkerOp(proxy, str)); } void GrDebugMarkerOp::onExecute(GrOpFlushState* state) { |