Skip to content

Commit

Permalink
Properly end ScopedCommitTrace during BeginMainFrame
Browse files Browse the repository at this point in the history
The handling of ScopedCommitTrace was broken by:

https://chromium-review.googlesource.com/c/chromium/src/+/3212131

Bug: 1280146
Change-Id: I36cab790d2cfc7db5880e125d9dd24b2387be9b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3342209
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/main@{#952532}
  • Loading branch information
szager-chromium authored and Chromium LUCI CQ committed Dec 16, 2021
1 parent 6aa525b commit f22ef6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cc/trees/proxy_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ void ProxyMain::BeginMainFrame(
layer_tree_host_->RecordEndOfFrameMetrics(
begin_main_frame_start_time,
begin_main_frame_state->active_sequence_trackers);
if (blocking)
commit_trace_.reset();
}

void ProxyMain::DidCompleteCommit(CommitTimestamps commit_timestamps) {
Expand Down

0 comments on commit f22ef6b

Please sign in to comment.