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

Unified Diff: webrtc/pc/videocapturertracksource.h

Issue 2717023002: Fix occasional race in VideoCapturerTrackSource seen by memcheck bot. (Closed)
Patch Set: Rebase onto master Created 3 years, 10 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 | « no previous file | webrtc/pc/videocapturertracksource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/videocapturertracksource.h
diff --git a/webrtc/pc/videocapturertracksource.h b/webrtc/pc/videocapturertracksource.h
index 1a2529b1b69aff88067caedeb0bbea6dee1ee453..2477340cdf9639ef26f19c96776adb72d6ce05fc 100644
--- a/webrtc/pc/videocapturertracksource.h
+++ b/webrtc/pc/videocapturertracksource.h
@@ -47,14 +47,10 @@ class VideoCapturerTrackSource : public VideoTrackSource,
std::unique_ptr<cricket::VideoCapturer> capturer,
bool remote);
- bool is_screencast() const override {
- return video_capturer_->IsScreencast();
- }
- rtc::Optional<bool> needs_denoising() const override {
- return needs_denoising_;
- }
+ bool is_screencast() const final { return video_capturer_->IsScreencast(); }
+ rtc::Optional<bool> needs_denoising() const final { return needs_denoising_; }
- bool GetStats(Stats* stats) override;
+ bool GetStats(Stats* stats) final;
protected:
VideoCapturerTrackSource(rtc::Thread* worker_thread,
« no previous file with comments | « no previous file | webrtc/pc/videocapturertracksource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698