Index: webrtc/modules/video_capture/linux/video_capture_linux.h |
diff --git a/webrtc/modules/video_capture/linux/video_capture_linux.h b/webrtc/modules/video_capture/linux/video_capture_linux.h |
index e048e88d5939a3079f5f9c312febd6747075d541..fdfcdb563dbaccb563ac4bf9ede485421ffc132b 100644 |
--- a/webrtc/modules/video_capture/linux/video_capture_linux.h |
+++ b/webrtc/modules/video_capture/linux/video_capture_linux.h |
@@ -13,13 +13,13 @@ |
#include <memory> |
+#include "webrtc/base/criticalsection.h" |
#include "webrtc/base/platform_thread.h" |
#include "webrtc/common_types.h" |
#include "webrtc/modules/video_capture/video_capture_impl.h" |
namespace webrtc |
{ |
-class CriticalSectionWrapper; |
namespace videocapturemodule |
{ |
class VideoCaptureModuleV4L2: public VideoCaptureImpl |
@@ -43,7 +43,7 @@ private: |
// TODO(pbos): Stop using unique_ptr and resetting the thread. |
std::unique_ptr<rtc::PlatformThread> _captureThread; |
- CriticalSectionWrapper* _captureCritSect; |
+ rtc::CriticalSection _captureCritSect; |
int32_t _deviceId; |
int32_t _deviceFd; |