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

Unified Diff: webrtc/video/vie_sync_module.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_remb.cc ('k') | webrtc/video/vie_sync_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/vie_sync_module.h
diff --git a/webrtc/video/vie_sync_module.h b/webrtc/video/vie_sync_module.h
index a9ad20a1039b92858cd793d470c0f8b2e38dc03a..48c9410c4b2f7df887c06177ad09ac7bd6b5c85d 100644
--- a/webrtc/video/vie_sync_module.h
+++ b/webrtc/video/vie_sync_module.h
@@ -14,6 +14,7 @@
#ifndef WEBRTC_VIDEO_VIE_SYNC_MODULE_H_
#define WEBRTC_VIDEO_VIE_SYNC_MODULE_H_
+#include "webrtc/base/criticalsection.h"
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/include/module.h"
#include "webrtc/system_wrappers/include/tick_util.h"
@@ -22,7 +23,6 @@
namespace webrtc {
-class CriticalSectionWrapper;
class RtpRtcp;
class VideoCodingModule;
class ViEChannel;
@@ -45,7 +45,7 @@ class ViESyncModule : public Module {
int32_t Process() override;
private:
- rtc::scoped_ptr<CriticalSectionWrapper> data_cs_;
+ rtc::CriticalSection data_cs_;
VideoCodingModule* const vcm_;
RtpReceiver* video_receiver_;
RtpRtcp* video_rtp_rtcp_;
« no previous file with comments | « webrtc/video/vie_remb.cc ('k') | webrtc/video/vie_sync_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698