Index: media/cast/video_sender/video_sender_unittest.cc |
diff --git a/media/cast/video_sender/video_sender_unittest.cc b/media/cast/video_sender/video_sender_unittest.cc |
index 9f4a49b14cb2be2dca1822f3dd706daab2a2b1d1..ed4565b43478cd499eb3867c64efe2ef79152f08 100644 |
--- a/media/cast/video_sender/video_sender_unittest.cc |
+++ b/media/cast/video_sender/video_sender_unittest.cc |
@@ -99,6 +99,11 @@ class VideoSenderTest : public ::testing::Test { |
virtual ~VideoSenderTest() {} |
+ virtual void TearDown() OVERRIDE { |
+ video_sender_.reset(); |
+ task_runner_->RunTasks(); |
+ } |
+ |
static void UpdateCastTransportStatus(transport::CastTransportStatus status) { |
EXPECT_EQ(status, transport::TRANSPORT_INITIALIZED); |
} |