Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: content/browser/renderer_host/media/video_capture_host_unittest.cc

Issue 10786029: Delete MediaStreamManager in the same way as AudioManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated unittests Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4c4409a70186aa91f07025bed25d7122f4bad1d3 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,9 @@ 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 and managers.
tommi (sloooow) - chröme 2012/07/17 15:36:58 which managers?
no longer working on chromium 2012/07/17 17:18:25 Done.
+ message_loop_.reset();
}
void StartCapture() {

Powered by Google App Engine
This is Rietveld 408576698