Refactor WebAudioBus impl
This CL contains: 1. Remove unneeded WebAudioBusPrivate and casts from/to it. 2. Avoid applying AdoptRef twice for single AudioBus. 3. Use nullptr instead of 0 around WebAudioBus The main part is (2). An upcoming change bans multiple invocation of WTF::AdoptRef for a single object, and as its preparation, this CL removes a failing case. Bug: 763844 Tbr: rtoy@chromium.org Change-Id: I362a83cd03d49b77ef9e4d81544bd5c7a9b2bc5e Reviewed-on: https://chromium-review.googlesource.com/686088 Commit-Queue: Taiju Tsuiki <tzik@chromium.org> Reviewed-by:Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#505296}
Showing
Please register or sign in to comment