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_; |