Index: webrtc/modules/video_capture/video_capture_impl.h |
diff --git a/webrtc/modules/video_capture/video_capture_impl.h b/webrtc/modules/video_capture/video_capture_impl.h |
index 559e14eb0278763fe7dce4048fb8b189eb0154ac..2cdb93eb8e9a4b0c272e9b7f601283271f56d712 100644 |
--- a/webrtc/modules/video_capture/video_capture_impl.h |
+++ b/webrtc/modules/video_capture/video_capture_impl.h |
@@ -16,6 +16,7 @@ |
*/ |
#include "webrtc/api/video/video_frame.h" |
+#include "webrtc/base/criticalsection.h" |
#include "webrtc/base/scoped_ref_ptr.h" |
#include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
#include "webrtc/modules/video_capture/video_capture.h" |
@@ -23,7 +24,6 @@ |
namespace webrtc |
{ |
-class CriticalSectionWrapper; |
namespace videocapturemodule { |
// Class definitions |
@@ -93,7 +93,7 @@ protected: |
int32_t DeliverCapturedFrame(VideoFrame& captureFrame); |
char* _deviceUniqueId; // current Device unique name; |
- CriticalSectionWrapper& _apiCs; |
+ rtc::CriticalSection _apiCs; |
VideoCaptureCapability _requestedCapability; // Should be set by platform dependent code in StartCapture. |
private: |
void UpdateFrameCount(); |