diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-27 21:33:49 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-27 21:33:49 +0000 |
commit | 1c085a63a3d62c0bf5043a8336dce0e9923917f8 (patch) | |
tree | 3909ce2a3a51ec2f5173d63c97952eed0a128313 /remoting/client/chromoting_client.cc | |
parent | 9e7fbfea4a79dbb7f3aa8e71f41b3ca4e40fe3b7 (diff) | |
download | chromium_src-1c085a63a3d62c0bf5043a8336dce0e9923917f8.zip chromium_src-1c085a63a3d62c0bf5043a8336dce0e9923917f8.tar.gz chromium_src-1c085a63a3d62c0bf5043a8336dce0e9923917f8.tar.bz2 |
Change ClientConfig to be a struct since it's just a dumb data carrier.
Also, the old method of passing around a pointer was not safe due to
object lifetime issues.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53851 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/chromoting_client.cc')
-rw-r--r-- | remoting/client/chromoting_client.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc index 7b77ee7..76f5b0c8 100644 --- a/remoting/client/chromoting_client.cc +++ b/remoting/client/chromoting_client.cc @@ -6,7 +6,6 @@ #include "base/message_loop.h" #include "remoting/client/chromoting_view.h" -#include "remoting/client/client_config.h" #include "remoting/client/client_context.h" #include "remoting/client/host_connection.h" #include "remoting/client/input_handler.h" @@ -17,7 +16,7 @@ static const uint32 kFailedColor = 0xffcc00ff; namespace remoting { -ChromotingClient::ChromotingClient(ClientConfig* config, +ChromotingClient::ChromotingClient(const ClientConfig& config, ClientContext* context, HostConnection* connection, ChromotingView* view, |