Index: media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc |
diff --git a/media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc b/media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc |
index 71e6f501a52e5041f3a45b707a87a8127664f6b0..7360429749ad50524095f27023ff02e7c3b3164f 100644 |
--- a/media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc |
+++ b/media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc |
@@ -27,15 +27,15 @@ class RtpDataTest : public RtpData { |
expected_header_.reset(new RtpCastHeader()); |
} |
- ~RtpDataTest() {} |
+ virtual ~RtpDataTest() {} |
void SetExpectedHeader(const RtpCastHeader& cast_header) { |
memcpy(expected_header_.get(), &cast_header, sizeof(RtpCastHeader)); |
} |
- void OnReceivedPayloadData(const uint8* payloadData, |
- int payloadSize, |
- const RtpCastHeader* rtpHeader) { |
+ virtual void OnReceivedPayloadData(const uint8* payloadData, |
+ int payloadSize, |
+ const RtpCastHeader* rtpHeader) OVERRIDE { |
VerifyCommonHeader(*rtpHeader); |
VerifyCastHeader(*rtpHeader); |
// TODO(mikhal): Add data verification. |
@@ -69,7 +69,7 @@ class RtpParserTest : public ::testing::Test { |
rtp_parser_.reset(new RtpParser(rtp_data_.get(), config_)); |
} |
- ~RtpParserTest() {} |
+ virtual ~RtpParserTest() {} |
virtual void SetUp() { |
cast_header_.InitRTPVideoHeaderCast(); |