| Index: src/gpu/GrDrawingManager.cpp
|
| diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp
|
| index f69625837b0d7d0d7a67b8c0cb822ccb01177c4b..90c77a5af0bc52f76395006f69c6006906a5cd85 100644
|
| --- a/src/gpu/GrDrawingManager.cpp
|
| +++ b/src/gpu/GrDrawingManager.cpp
|
| @@ -114,13 +114,6 @@ void GrDrawingManager::flush() {
|
| fDrawTargets.reset();
|
| #endif
|
|
|
| - // Clear batch debugging output
|
| - if (GR_BATCH_DEBUGGING_OUTPUT) {
|
| - SkDebugf("%s\n", fContext->getAuditTrail()->toJson().c_str());
|
| - // TODO This currently crashes because not all ops are accounted for
|
| - //GR_AUDIT_TRAIL_RESET(fContext->getAuditTrail());
|
| - }
|
| -
|
| fFlushState.reset();
|
| fFlushing = false;
|
| }
|
| @@ -209,5 +202,5 @@ GrDrawContext* GrDrawingManager::drawContext(GrRenderTarget* rt,
|
| return nullptr;
|
| }
|
|
|
| - return new GrDrawContext(this, rt, surfaceProps, fSingleOwner);
|
| + return new GrDrawContext(this, rt, surfaceProps, fContext->getAuditTrail(), fSingleOwner);
|
| }
|
|
|