AudioNodeInput::Bus returns scoped_refptr<AudioBus>
Make sure all users of an input bus increment the ref count by using scoped_refptr instead of a raw pointer to the bus so that lifetime is managed correctly. We only handle the input bus in this CL. Bug: 1040246 Change-Id: Ib93299da51e6eafbf9a7d0e433e1beea8fe9c266 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1958616 Commit-Queue: Raymond Toy <rtoy@chromium.org> Reviewed-by:Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#738021}
Showing
Please register or sign in to comment