WebAudio: AudioScheduledSourceNode: Fix HasPendingActivity
HasPendingActivity() is called during garbage collection which may happen during constructing an AudioNode. Since the handler has not been set at this point we need to guard against derefencing null. Bug: 937208 Change-Id: I4ee92d08c97f044aca8043443f04d751428e8455 Reviewed-on: https://chromium-review.googlesource.com/c/1495977Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#636776}
Showing
Please register or sign in to comment