-
Notifications
You must be signed in to change notification settings - Fork 480
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ui] Make
Widget#detach()
cancel the update cycle.
Change `Widget` to use `requestAnimationFrame` directly, and make sure to cancel the update cycle when the widget is detached. Bug: 301364727 Change-Id: I4591ed525e1982cd44e5fe3be90ddac9179c0ecb Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6133023 Commit-Queue: Nikolay Vitkov <[email protected]> Reviewed-by: Nikolay Vitkov <[email protected]> Auto-Submit: Benedikt Meurer <[email protected]> Commit-Queue: Benedikt Meurer <[email protected]>
- Loading branch information
Showing
2 changed files
with
69 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters