commit | b3b017950a8956d86305a51f3978dd2ea0b27234 | [log] [tgz] |
---|---|---|
author | Karl Wiberg <kwiberg@webrtc.org> | Wed Oct 10 10:44:12 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Oct 10 13:38:52 2018 |
tree | 26649c396c30a4689c5245fbeab379452a1f40cd | |
parent | 0213786b391816536e034d334299ba3a2da899f6 [diff] |
Fix backwards logic in rtc::Buffer::OnMovedFrom() The logic in rtc::Buffer::OnMovedFrom was backwards w.r.t. RTC_DCHECK_IS_ON. We intended to provoke bugs when DCHECKs are on and play it safe when DCHECKs are off, but actually we did the reverse. This CL fixes that. It also adds a death test that would have caught the bug. Bug: webrtc:9856 Change-Id: Ib6a4b07d12732e5a66e93b36b885abdab93e55c7 Reviewed-on: https://webrtc-review.googlesource.com/c/105040 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25091}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.