Index: media/cast/video_receiver/video_receiver_unittest.cc |
diff --git a/media/cast/video_receiver/video_receiver_unittest.cc b/media/cast/video_receiver/video_receiver_unittest.cc |
index 00fc9bd9d86feb11da434c778ecafbca15cfe0bf..dc1d6923d6697c8e92defa0bf4c3703ad090bd2c 100644 |
--- a/media/cast/video_receiver/video_receiver_unittest.cc |
+++ b/media/cast/video_receiver/video_receiver_unittest.cc |
@@ -33,7 +33,13 @@ class TestVideoReceiverCallback : |
++num_called_; |
} |
int number_times_called() { return num_called_;} |
+ |
+ protected: |
+ virtual ~TestVideoReceiverCallback() {} |
+ |
private: |
+ friend class base::RefCountedThreadSafe<TestVideoReceiverCallback>; |
+ |
int num_called_; |
}; |
@@ -65,7 +71,7 @@ class VideoReceiverTest : public ::testing::Test { |
receiver_->set_clock(&testing_clock_); |
} |
- ~VideoReceiverTest() {} |
+ virtual ~VideoReceiverTest() {} |
virtual void SetUp() { |
payload_.assign(kPacketSize, 0); |