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

Unified Diff: webrtc/video/call_stats.h

Issue 1613053003: Swap use of CriticalSectionWrapper for rtc::CriticalSection in webrtc/video. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase? Created 4 years, 11 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 | « no previous file | webrtc/video/call_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/call_stats.h
diff --git a/webrtc/video/call_stats.h b/webrtc/video/call_stats.h
index 4ecd911b073143b25f062f8c4b95986caffd31f7..7bd74c6147fefbea210785d661106e002934ee1a 100644
--- a/webrtc/video/call_stats.h
+++ b/webrtc/video/call_stats.h
@@ -14,6 +14,7 @@
#include <list>
#include "webrtc/base/constructormagic.h"
+#include "webrtc/base/criticalsection.h"
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/include/module.h"
#include "webrtc/system_wrappers/include/clock.h"
@@ -21,7 +22,6 @@
namespace webrtc {
class CallStatsObserver;
-class CriticalSectionWrapper;
class RtcpRttStats;
// CallStats keeps track of statistics for a call.
@@ -60,7 +60,7 @@ class CallStats : public Module {
private:
Clock* const clock_;
// Protecting all members.
- rtc::scoped_ptr<CriticalSectionWrapper> crit_;
+ mutable rtc::CriticalSection crit_;
// Observer receiving statistics updates.
rtc::scoped_ptr<RtcpRttStats> rtcp_rtt_stats_;
// The last time 'Process' resulted in statistic update.
« no previous file with comments | « no previous file | webrtc/video/call_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698