[Media Controls] Prevent DCHECK when removing video acting as audio
This CL prevents the is_acting_as_audio_controls_ state from updating during an HTMLMediaElement's removal from the document. This fixes an issue where a DCHECK was firing on the controls inserting elements into the panel during a removal. Bug: 851374 Change-Id: I28a4cd31dd4e0197b8fcad8cfaa9401dbf5aea61 Reviewed-on: https://chromium-review.googlesource.com/1098306Reviewed-by:Becca Hughes <beccahughes@chromium.org> Commit-Queue: Tommy Steimel <steimel@chromium.org> Cr-Commit-Position: refs/heads/master@{#567689}
Showing
Please register or sign in to comment