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

Unified Diff: remoting/host/video_scheduler_unittest.cc

Issue 14520018: Create the desktop environment before any of the channel were connected. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 8 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 | « remoting/host/video_scheduler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/video_scheduler_unittest.cc
diff --git a/remoting/host/video_scheduler_unittest.cc b/remoting/host/video_scheduler_unittest.cc
index d80a941b8bd5913fbac333f64219cdd2ee7104ff..44010aff14cf6946887435e15f824f44535bd6d3 100644
--- a/remoting/host/video_scheduler_unittest.cc
+++ b/remoting/host/video_scheduler_unittest.cc
@@ -117,7 +117,7 @@ void VideoSchedulerTest::SetUp() {
void VideoSchedulerTest::StartVideoScheduler(
scoped_ptr<media::ScreenCapturer> capturer) {
- scheduler_ = VideoScheduler::Create(
+ scheduler_ = new VideoScheduler(
task_runner_, // Capture
task_runner_, // Encode
task_runner_, // Network
@@ -125,6 +125,7 @@ void VideoSchedulerTest::StartVideoScheduler(
scoped_ptr<VideoEncoder>(encoder_),
&client_stub_,
&video_stub_);
+ scheduler_->Start();
}
void VideoSchedulerTest::StopVideoScheduler() {
« no previous file with comments | « remoting/host/video_scheduler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698