Fix perf regression in queuing duration.
The regression was caused by finished events being queued at the wrong time in the document lifecycle. With this fix, the finished event is deferred until the microtask is run rather than synchronously inside the ApplyUpdates method. Bug: 1015047 Change-Id: If2917b8aab27c5c98e58d78f4a43b4288b439e8e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1869389Reviewed-by:Robert Flack <flackr@chromium.org> Commit-Queue: Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#707458}
Showing
Please register or sign in to comment