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

Unified Diff: remoting/host/client_session.cc

Issue 569593002: Maintaining the proper order of initialization WeakPtrFactory in "src/remoting" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index e594b104cf63674e83ca7179ae35c5859ce751cd..527e24cb97b9ac334fec6a3d1dbee5bf3e9bbde6 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -60,7 +60,6 @@ ClientSession::ClientSession(
disable_clipboard_filter_(clipboard_echo_filter_.host_filter()),
auth_input_filter_(&disable_input_filter_),
auth_clipboard_filter_(&disable_clipboard_filter_),
- client_clipboard_factory_(clipboard_echo_filter_.client_filter()),
max_duration_(max_duration),
audio_task_runner_(audio_task_runner),
input_task_runner_(input_task_runner),
@@ -71,7 +70,8 @@ ClientSession::ClientSession(
pairing_registry_(pairing_registry),
pause_video_(false),
lossless_video_encode_(false),
- lossless_video_color_(false) {
+ lossless_video_color_(false),
+ client_clipboard_factory_(clipboard_echo_filter_.client_filter()) {
connection_->SetEventHandler(this);
// TODO(sergeyu): Currently ConnectionToClient expects stubs to be

Powered by Google App Engine
This is Rietveld 408576698