Re-create ThroughputTracker when animation starts
ui::ThroughputTracker should not be reused. It DCHECKs when data tracking overlaps and drop reports when it happens. This CL changes to create a new ui::ThroughputTracker instance when the hover card bubble animation starts. This also fixes one crash that a browser window on external display gets moved to internal display when disconnecting external displays, where the Compositor becomes invalid. Bug: 1060816, 1096840 Change-Id: I63b50279492fe2e464ed45efd7139e4cb8a43148 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2254698Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#780479}
Showing
Please register or sign in to comment