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

Unified Diff: remoting/client/chromoting_client.cc

Issue 7796026: Pass SessionConfig by reference instead of pointer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | remoting/client/rectangle_update_decoder.h » ('j') | remoting/host/chromoting_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index 3c033d808fb457ef1a2d7da48d3bf24468cf6365..350efc10e602472f19c7218638ebbf17748da554 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -238,10 +238,8 @@ void ChromotingClient::Initialize() {
TraceContext::tracer()->PrintString("Initializing client.");
- const protocol::SessionConfig* config = connection_->config();
-
// Initialize the decoder.
- rectangle_decoder_->Initialize(config);
+ rectangle_decoder_->Initialize(connection_->config());
// Schedule the input handler to process the event queue.
input_handler_->Initialize();
« no previous file with comments | « no previous file | remoting/client/rectangle_update_decoder.h » ('j') | remoting/host/chromoting_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698