Index: media/cast/video_sender/video_encoder_impl_unittest.cc |
diff --git a/media/cast/video_sender/video_encoder_impl_unittest.cc b/media/cast/video_sender/video_encoder_impl_unittest.cc |
index 1db0c89f213eeaeb57728bb516146674b63942d5..7fd72427bc67f6c5c9d7d90c82a908f95b5514e0 100644 |
--- a/media/cast/video_sender/video_encoder_impl_unittest.cc |
+++ b/media/cast/video_sender/video_encoder_impl_unittest.cc |
@@ -94,6 +94,11 @@ class VideoEncoderImplTest : public ::testing::Test { |
task_runner_, GetDefaultCastSenderLoggingConfig()); |
} |
+ virtual void TearDown() OVERRIDE { |
+ video_encoder_.reset(); |
+ task_runner_->RunTasks(); |
+ } |
+ |
void Configure(uint8 max_unacked_frames) { |
video_encoder_.reset(new VideoEncoderImpl(cast_environment_, video_config_, |
max_unacked_frames)); |