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

Unified Diff: webrtc/video/vie_remb.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 | « webrtc/video/vie_receiver.cc ('k') | webrtc/video/vie_remb.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/vie_remb.h
diff --git a/webrtc/video/vie_remb.h b/webrtc/video/vie_remb.h
index 2a3d916d6c837f2d71212c3acf634b98a628dac0..c6bb4086c2cb8fc07660d21362e5abca1a3b23a6 100644
--- a/webrtc/video/vie_remb.h
+++ b/webrtc/video/vie_remb.h
@@ -15,6 +15,7 @@
#include <utility>
#include <vector>
+#include "webrtc/base/criticalsection.h"
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/include/module.h"
#include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h"
@@ -22,7 +23,6 @@
namespace webrtc {
-class CriticalSectionWrapper;
class ProcessThread;
class RtpRtcp;
@@ -58,7 +58,7 @@ class VieRemb : public RemoteBitrateObserver {
typedef std::list<RtpRtcp*> RtpModules;
Clock* const clock_;
- rtc::scoped_ptr<CriticalSectionWrapper> list_crit_;
+ mutable rtc::CriticalSection list_crit_;
// The last time a REMB was sent.
int64_t last_remb_time_;
« no previous file with comments | « webrtc/video/vie_receiver.cc ('k') | webrtc/video/vie_remb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698