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

Unified Diff: remoting/host/client_session.cc

Issue 1113493005: [remoting] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index 905539bc8f5fb690298a0d8af4abba7554537cac..38a8499144c191b44841d96022c004d1f00c7fba 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -6,7 +6,7 @@
#include <algorithm>
-#include "base/message_loop/message_loop_proxy.h"
+#include "base/thread_task_runner_handle.h"
#include "remoting/base/capabilities.h"
#include "remoting/base/logging.h"
#include "remoting/codec/audio_encoder.h"
@@ -501,7 +501,7 @@ scoped_ptr<protocol::ClipboardStub> ClientSession::CreateClipboardProxy() {
return make_scoped_ptr(
new protocol::ClipboardThreadProxy(client_clipboard_factory_.GetWeakPtr(),
- base::MessageLoopProxy::current()));
+ base::ThreadTaskRunnerHandle::Get()));
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698