Index: content/browser/renderer_host/media/video_capture_host_unittest.cc |
diff --git a/content/browser/renderer_host/media/video_capture_host_unittest.cc b/content/browser/renderer_host/media/video_capture_host_unittest.cc |
index 4aca90bcafbfeffe4d3375a2e3332051680c25be..e7b658b5137f4cec8882aa27c4f36fb1e18694bd 100644 |
--- a/content/browser/renderer_host/media/video_capture_host_unittest.cc |
+++ b/content/browser/renderer_host/media/video_capture_host_unittest.cc |
@@ -248,6 +248,10 @@ class VideoCaptureHostTest : public testing::Test { |
// We need to continue running message_loop_ to complete all destructions. |
message_loop_->RunAllPending(); |
+ |
+ // Delete the IO message loop to delete the device thread, |
+ // AudioInputDeviceManager and VideoCaptureManager. |
+ message_loop_.reset(); |
} |
void StartCapture() { |