Rename DidDestroy* to WillDestroy* for BaseAudioContext devtool event
"DidDestroy" was never true because we can't notify anything from the GC-managed object destruction. "WillDestroy" means that it is marked for GC and will go away sometime in the future. This is a preview of the new event pattern for the WebAudio DevTool. A series of CLs to implement the graph event will use this pattern to notify the lifecycle event. There's no functional change in this CL. Bug: 970898 Change-Id: Ic359d4ca5a3c69fd5e85ce135fa2a3de881b83bd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724815 Commit-Queue: Hongchan Choi <hongchan@chromium.org> Reviewed-by:Raymond Toy <rtoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#681926}
Showing
Please register or sign in to comment