| Index: src/gpu/GrTargetCommands.cpp
|
| diff --git a/src/gpu/GrTargetCommands.cpp b/src/gpu/GrTargetCommands.cpp
|
| index d326226d1f37719dae4e996c7dc6152f76bd9725..30920f884d959a6639a0e1f907e077576521d905 100644
|
| --- a/src/gpu/GrTargetCommands.cpp
|
| +++ b/src/gpu/GrTargetCommands.cpp
|
| @@ -319,6 +319,10 @@ void GrTargetCommands::flush(GrInOrderDrawBuffer* iodb) {
|
| if (Cmd::kDrawBatch_Cmd == iter->type()) {
|
| DrawBatch* db = reinterpret_cast<DrawBatch*>(iter.get());
|
| fBatchTarget.flushNext(db->fBatch->numberOfDraws());
|
| +
|
| + if (iter->isTraced()) {
|
| + gpu->removeGpuTraceMarker(&newMarker);
|
| + }
|
| continue;
|
| }
|
|
|
|
|