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

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

Issue 978993002: Changed thread_checker on VideoCaptureImpl and VideoCaptureImplManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 9 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/renderer/media/video_capture_impl_manager_unittest.cc
diff --git a/content/renderer/media/video_capture_impl_manager_unittest.cc b/content/renderer/media/video_capture_impl_manager_unittest.cc
index 1258c7688e90ebba49f234a036e922a6aa94b5f2..39c9e8e4faedb7eb55352815090d182c83ca6c18 100644
--- a/content/renderer/media/video_capture_impl_manager_unittest.cc
+++ b/content/renderer/media/video_capture_impl_manager_unittest.cc
@@ -137,10 +137,8 @@ TEST_F(VideoCaptureImplManagerTest, MultipleClients) {
base::Closure stop_cb1, stop_cb2;
{
base::RunLoop run_loop;
- base::Closure quit_closure = BindToCurrentLoop(
- run_loop.QuitClosure());
- EXPECT_CALL(*this, OnStarted()).WillOnce(
- RunClosure(quit_closure));
+ base::Closure quit_closure = BindToCurrentLoop(run_loop.QuitClosure());
+ EXPECT_CALL(*this, OnStarted()).WillOnce(RunClosure(quit_closure));
EXPECT_CALL(*this, OnStarted()).RetiresOnSaturation();
stop_cb1 = StartCapture(params_);
stop_cb2 = StartCapture(params_);
@@ -150,10 +148,8 @@ TEST_F(VideoCaptureImplManagerTest, MultipleClients) {
{
base::RunLoop run_loop;
- base::Closure quit_closure = BindToCurrentLoop(
- run_loop.QuitClosure());
- EXPECT_CALL(*this, OnStopped()).WillOnce(
- RunClosure(quit_closure));
+ base::Closure quit_closure = BindToCurrentLoop(run_loop.QuitClosure());
+ EXPECT_CALL(*this, OnStopped()).WillOnce(RunClosure(quit_closure));
EXPECT_CALL(*this, OnStopped()).RetiresOnSaturation();
stop_cb1.Run();
stop_cb2.Run();

Powered by Google App Engine
This is Rietveld 408576698