Index: webrtc/media/engine/fakewebrtcvideoengine.h |
diff --git a/webrtc/media/engine/fakewebrtcvideoengine.h b/webrtc/media/engine/fakewebrtcvideoengine.h |
index b445d2181ba410afa153d0f983478c3a702451dc..f8b8cbb4925dea73253ea55144427ee9d7d6e8b0 100644 |
--- a/webrtc/media/engine/fakewebrtcvideoengine.h |
+++ b/webrtc/media/engine/fakewebrtcvideoengine.h |
@@ -182,8 +182,8 @@ class FakeWebRtcVideoEncoderFactory : public WebRtcVideoEncoderFactory { |
num_created_encoders_(0), |
encoders_have_internal_sources_(false) {} |
- virtual webrtc::VideoEncoder* CreateVideoEncoder( |
- webrtc::VideoCodecType type) { |
+ webrtc::VideoEncoder* CreateVideoEncoder( |
+ webrtc::VideoCodecType type) override { |
rtc::CritScope lock(&crit_); |
if (supported_codec_types_.count(type) == 0) { |
return NULL; |
@@ -203,7 +203,7 @@ class FakeWebRtcVideoEncoderFactory : public WebRtcVideoEncoderFactory { |
return false; |
} |
- virtual void DestroyVideoEncoder(webrtc::VideoEncoder* encoder) { |
+ void DestroyVideoEncoder(webrtc::VideoEncoder* encoder) override { |
rtc::CritScope lock(&crit_); |
encoders_.erase( |
std::remove(encoders_.begin(), encoders_.end(), encoder), |
@@ -211,12 +211,12 @@ class FakeWebRtcVideoEncoderFactory : public WebRtcVideoEncoderFactory { |
delete encoder; |
} |
- virtual const std::vector<WebRtcVideoEncoderFactory::VideoCodec>& codecs() |
- const { |
+ const std::vector<WebRtcVideoEncoderFactory::VideoCodec>& codecs() |
+ const override { |
return codecs_; |
} |
- virtual bool EncoderTypeHasInternalSource( |
+ bool EncoderTypeHasInternalSource( |
webrtc::VideoCodecType type) const override { |
return encoders_have_internal_sources_; |
} |