Fix UB in WebrtcTaskQueue::RunTask
by making WebrtcTaskQueue::RunTask properly static RunTask supports running after WebrtcTaskQueue is destroyed, it has protection |this| is not accessed in that case, however calling non-static non-virtual function of a destroyed object is still an undefined behaviour Bug: chromium:933851 Change-Id: Idc30bc59eff1193997d7e53537cd1493b668dd08 Reviewed-on: https://chromium-review.googlesource.com/c/1479233Reviewed-by:Per Kjellander <perkj@chromium.org> Reviewed-by:
Henrik Grunell <grunell@chromium.org> Reviewed-by:
Tommi <tommi@chromium.org> Auto-Submit: Danil Chapovalov <danilchap@chromium.org> Commit-Queue: Henrik Grunell <grunell@chromium.org> Commit-Queue: Tommi <tommi@chromium.org> Cr-Commit-Position: refs/heads/master@{#634608}
Showing
Please register or sign in to comment