RTCVideoDecoder: add Destroy() static method for RTCVideoDecoderFactory
RTCVDFactory does not know where RTCVideoDecoder is created (it is created in one of the parameter's task runner), however it knows where to destroy it. Address this imbalance by offering an RTCVideoDecoder::Destroy() where the threading is explicit, since it lives next to RTCVideoDecoder::Create(). BUG=554737 TEST= tiny change, all unit tests passing. Review URL: https://codereview.chromium.org/1458683002 Cr-Commit-Position: refs/heads/master@{#360606}
Showing
Please register or sign in to comment