Index: media/cast/video_sender/video_encoder_unittest.cc |
diff --git a/media/cast/video_sender/video_encoder_unittest.cc b/media/cast/video_sender/video_encoder_unittest.cc |
index d18a043b73b13fd39a0bd75989142971f2e6e2c3..509c1de1f6c16403dcbccd585ef590a93199867c 100644 |
--- a/media/cast/video_sender/video_encoder_unittest.cc |
+++ b/media/cast/video_sender/video_encoder_unittest.cc |
@@ -46,7 +46,12 @@ class TestVideoEncoderCallback : |
EXPECT_EQ(expected_capture_time_, capture_time); |
} |
+ protected: |
+ virtual ~TestVideoEncoderCallback() {} |
+ |
private: |
+ friend class base::RefCountedThreadSafe<TestVideoEncoderCallback>; |
+ |
bool expected_key_frame_; |
uint8 expected_frame_id_; |
uint8 expected_last_referenced_frame_id_; |
@@ -85,7 +90,7 @@ class VideoEncoderTest : public ::testing::Test { |
video_frame_.v_plane.data = &(pixels_[0]); |
} |
- ~VideoEncoderTest() {} |
+ virtual ~VideoEncoderTest() {} |
virtual void SetUp() { |
task_runner_ = new test::FakeTaskRunner(&testing_clock_); |