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

Unified Diff: remoting/host/desktop_environment.cc

Issue 10795053: Remove EventExecutor dependency on VideoFrameCapturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment. 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
« no previous file with comments | « no previous file | remoting/host/event_executor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_environment.cc
diff --git a/remoting/host/desktop_environment.cc b/remoting/host/desktop_environment.cc
index 7f782de0c7c2ed7be9ddd33999643d8f1385cc24..179a8e3ad1540a7d10e2634a0c8e4ba90390e219 100644
--- a/remoting/host/desktop_environment.cc
+++ b/remoting/host/desktop_environment.cc
@@ -22,8 +22,7 @@ scoped_ptr<DesktopEnvironment> DesktopEnvironment::Create(
ChromotingHostContext* context) {
scoped_ptr<VideoFrameCapturer> capturer(VideoFrameCapturer::Create());
scoped_ptr<EventExecutor> event_executor = EventExecutor::Create(
- context->desktop_task_runner(), context->ui_task_runner(),
- capturer.get());
+ context->desktop_task_runner(), context->ui_task_runner());
scoped_ptr<AudioCapturer> audio_capturer = AudioCapturer::Create();
if (capturer.get() == NULL || event_executor.get() == NULL) {
@@ -43,8 +42,7 @@ scoped_ptr<DesktopEnvironment> DesktopEnvironment::CreateForService(
ChromotingHostContext* context) {
scoped_ptr<VideoFrameCapturer> capturer(VideoFrameCapturer::Create());
scoped_ptr<EventExecutor> event_executor = EventExecutor::Create(
- context->desktop_task_runner(), context->ui_task_runner(),
- capturer.get());
+ context->desktop_task_runner(), context->ui_task_runner());
scoped_ptr<AudioCapturer> audio_capturer = AudioCapturer::Create();
if (capturer.get() == NULL || event_executor.get() == NULL) {
« no previous file with comments | « no previous file | remoting/host/event_executor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698