commit | 7f761573b33d51cc0fdb8016d2ea457a3f44dd51 | [log] [tgz] |
---|---|---|
author | Niels Möller <nisse@webrtc.org> | Tue Jan 25 15:18:53 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 26 09:02:11 2022 |
tree | baf11b3fef714033111690b87c4f5647840d4b37 | |
parent | a36f10bd73c36a9db45929e3b3db61b6b77dfbd6 [diff] |
Cleanup of pc/proxy.h Avoid implicit conversion from rtc::scoped_refptr to raw pointer, when calling the MethodCall and ConstMethodCall constructors. Fixed by defining a private accessor T* c() which always returns a raw pointer, with different implementation for BEGIN_PROXY_MAP and BEGIN_OWNED_PROXY_MAP. Avoid using the same name for macro argument and function argument within the macro definition, like `c` in: ``` #define PRIMARY_PROXY_MAP_BOILERPLATE(c) \ protected: \ c##ProxyWithInternal(rtc::Thread* primary_thread, INTERNAL_CLASS* c) \ : primary_thread_(primary_thread), c_(c) {} \ ``` Fixed by using `class_name` as the macro argument throughout. Bug: webrtc:13464 Change-Id: I9faf095b004afd5225f5ec09fb782ef4b5c9dc5d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/249089 Reviewed-by: Henrik Boström <hbos@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35794}
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 here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.