Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: webrtc/media/engine/webrtcvideoengine2.cc

Issue 2326843003: Remove RTC_LOGGED_* macro. (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/call/call.cc ('k') | webrtc/modules/audio_device/audio_device_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/webrtcvideoengine2.cc
diff --git a/webrtc/media/engine/webrtcvideoengine2.cc b/webrtc/media/engine/webrtcvideoengine2.cc
index f053776dea9c724f70e6aed0d0d59eba0808e565..60f51be8d1615aff560bfe43407bcab06acc770d 100644
--- a/webrtc/media/engine/webrtcvideoengine2.cc
+++ b/webrtc/media/engine/webrtcvideoengine2.cc
@@ -1628,9 +1628,8 @@ WebRtcVideoChannel2::WebRtcVideoSendStream::~WebRtcVideoSendStream() {
void WebRtcVideoChannel2::WebRtcVideoSendStream::UpdateHistograms() const {
const int kMinRequiredFrames = 200;
if (frame_count_ > kMinRequiredFrames) {
- RTC_LOGGED_HISTOGRAM_PERCENTAGE(
- "WebRTC.Video.CpuLimitedResolutionInPercent",
- cpu_restricted_frame_count_ * 100 / frame_count_);
+ RTC_HISTOGRAM_PERCENTAGE("WebRTC.Video.CpuLimitedResolutionInPercent",
+ cpu_restricted_frame_count_ * 100 / frame_count_);
}
}
« no previous file with comments | « webrtc/call/call.cc ('k') | webrtc/modules/audio_device/audio_device_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698