diff options
-rw-r--r-- | src/gpu/v1/SurfaceDrawContext.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/v1/SurfaceDrawContext.cpp b/src/gpu/v1/SurfaceDrawContext.cpp index 5bf6a3bb9c..cfd6a04056 100644 --- a/src/gpu/v1/SurfaceDrawContext.cpp +++ b/src/gpu/v1/SurfaceDrawContext.cpp @@ -1470,6 +1470,10 @@ void SurfaceDrawContext::drawImageLattice(const GrClip* clip, void SurfaceDrawContext::drawDrawable(std::unique_ptr<SkDrawable::GpuDrawHandler> drawable, const SkRect& bounds) { + ASSERT_SINGLE_OWNER + RETURN_IF_ABANDONED + SkDEBUGCODE(this->validate();) + GR_CREATE_TRACE_MARKER_CONTEXT("SurfaceDrawContext", "drawDrawable", fContext); GrOp::Owner op(DrawableOp::Make(fContext, std::move(drawable), bounds)); SkASSERT(op); this->addOp(std::move(op)); |