commit | 55566630aa8cb582dd1da4c557950ac944fd9830 | [log] [tgz] |
---|---|---|
author | Yuwei Huang <[email protected]> | Sat Nov 11 00:59:38 2017 |
committer | Commit Bot <[email protected]> | Sat Nov 11 00:59:38 2017 |
tree | 72a2aa9d9c300a07887e8c803595a43795558af6 | |
parent | 63fb79e412afd47945808fd8625cccb394f1a54f [diff] |
[CRD iOS] Fix empty closure crash in AudioStreamConsumer::ProcessAudioPacket WebRTCAudioSinkAdapter passes an empty done closure to AudioStreamConsumer. Different from a DoNothing closure, calling an empty closure will end up crashing the app. This CL fixes AudioStreamConsumer so that it only runs the done closure if it is not null. Bug: 748710 Change-Id: Ied6301b54e694f8d62618e7ed4e16fa2811a4202 Reviewed-on: https://chromium-review.googlesource.com/765010 Reviewed-by: Jamie Walch <[email protected]> Commit-Queue: Yuwei Huang <[email protected]> Cr-Commit-Position: refs/heads/master@{#515771}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .