Index: webrtc/api/rtpsenderreceiver_unittest.cc |
diff --git a/webrtc/api/rtpsenderreceiver_unittest.cc b/webrtc/api/rtpsenderreceiver_unittest.cc |
index 4cd142567ada966f753e33f7e49ff940f8eb4440..0ec3cfe47098bb643e7ad8a83377ca3b96b30a98 100644 |
--- a/webrtc/api/rtpsenderreceiver_unittest.cc |
+++ b/webrtc/api/rtpsenderreceiver_unittest.cc |
@@ -43,7 +43,11 @@ namespace webrtc { |
// Helper class to test RtpSender/RtpReceiver. |
class MockAudioProvider : public AudioProviderInterface { |
public: |
- ~MockAudioProvider() override {} |
+ // TODO(nisse): Valid overrides commented out, because the gmock |
+ // methods don't use any override declarations, and we want to avoid |
+ // warnings from -Winconsistent-missing-override. See |
+ // http://crbug.com/428099. |
+ ~MockAudioProvider() /* override */ {} |
MOCK_METHOD2(SetAudioPlayout, |
void(uint32_t ssrc, |
@@ -58,8 +62,8 @@ class MockAudioProvider : public AudioProviderInterface { |
MOCK_METHOD2(SetAudioRtpParameters, |
bool(uint32_t ssrc, const RtpParameters&)); |
- void SetRawAudioSink(uint32_t, |
- std::unique_ptr<AudioSinkInterface> sink) override { |
+ void SetRawAudioSink( |
+ uint32_t, std::unique_ptr<AudioSinkInterface> sink) /* override */ { |
sink_ = std::move(sink); |
} |