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

Unified Diff: content/renderer/media/media_recorder_handler_unittest.cc

Issue 1351473006: WebmMuxer-MediaRecorderHandler: thread hopping and data ownership (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: StringPiece passed by value Created 5 years, 3 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
« no previous file with comments | « content/renderer/media/media_recorder_handler.cc ('k') | content/renderer/media/video_track_recorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_recorder_handler_unittest.cc
diff --git a/content/renderer/media/media_recorder_handler_unittest.cc b/content/renderer/media/media_recorder_handler_unittest.cc
index d15bc0352d76beceb32db238fda5ef737cc57aae..c935c36bc61a0d3b6e643d0cd34a5e3d0925305f 100644
--- a/content/renderer/media/media_recorder_handler_unittest.cc
+++ b/content/renderer/media/media_recorder_handler_unittest.cc
@@ -57,15 +57,15 @@ class MediaRecorderHandlerTest
base::TimeTicks::Now());
}
- // The Class under test. Needs to be scoped_ptr to force its destruction.
- scoped_ptr<MediaRecorderHandler> media_recorder_handler_;
-
// A ChildProcess and a MessageLoopForUI are both needed to fool the Tracks
// and Sources in |registry_| into believing they are on the right threads.
const base::MessageLoopForUI message_loop_;
const ChildProcess child_process_;
MockMediaStreamRegistry registry_;
+ // The Class under test. Needs to be scoped_ptr to force its destruction.
+ scoped_ptr<MediaRecorderHandler> media_recorder_handler_;
+
private:
DISALLOW_COPY_AND_ASSIGN(MediaRecorderHandlerTest);
};
« no previous file with comments | « content/renderer/media/media_recorder_handler.cc ('k') | content/renderer/media/video_track_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698