commit | 71b8393b6a8bfc0f778fb77ef166fb574e1fa25b | [log] [tgz] |
---|---|---|
author | sakal <sakal@webrtc.org> | Fri Sep 16 13:56:15 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Sep 16 13:56:20 2016 |
tree | 370aa94636d6bca72115da4d16cd51cdbc4ab689 | |
parent | a6974d7f7e9b1a003f868f5ef44ba1746d5d4f1f [diff] |
Remove name parameter from HistogramAdd function. This name is only used for a DCHECK. Having it as a parameter leads to unnecessary string copying even on release builds. This CL instead adds a GetHistogramName function that is only called on debug builds. Checking if pointer is null is also moved outside HistogramAdd function. Having it there is confusing since Chromium implementation doesn't have it there. BUG=webrtc:6329 Review-Url: https://codereview.webrtc.org/2337883003 Cr-Commit-Position: refs/heads/master@{#14263}
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. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.