Handle the case of detached iframe in RendererWebAudioDeviceImpl

DCHECK in RendererWebAudioDeviceImpl assumes an AudioContext to have
a valid frame ID, and it makes DCHECK-enabled build crash when an
AudioContext is originated from a detached iframe.

This CL loosens the condition of DCHECK to allow such case.

Bug: 954995
Change-Id: I50b577f0e0b466ed76c0d9bbb807cd10adb30acd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1577841
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653326}
1 file changed