commit | d701dfdeef231185b262bc9fe7024b6211ae96bf | [log] [tgz] |
---|---|---|
author | kthelgason <kthelgason@webrtc.org> | Mon Mar 27 07:24:57 2017 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Mar 27 14:24:57 2017 +0000 |
tree | e4c654cf30b43eb86872bdc08f35e43c39c9333f | |
parent | 1c07c70d88eca07888bf242921dc8dfc3be95737 [diff] [blame] |
remove more CriticalSectionWrappers. BUG=webrtc:7035 Review-Url: https://codereview.webrtc.org/2779623002 Cr-Commit-Position: refs/heads/master@{#17392}
diff --git a/webrtc/modules/video_coding/media_optimization.h b/webrtc/modules/video_coding/media_optimization.h index 290636f..bc48300 100644 --- a/webrtc/modules/video_coding/media_optimization.h +++ b/webrtc/modules/video_coding/media_optimization.h
@@ -101,7 +101,7 @@ uint32_t SentFrameRateInternal() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_); // Protect all members. - std::unique_ptr<CriticalSectionWrapper> crit_sect_; + rtc::CriticalSection crit_sect_; Clock* clock_ GUARDED_BY(crit_sect_); int32_t max_bit_rate_ GUARDED_BY(crit_sect_);