| Index: google_apis/gcm/engine/mcs_client.cc
|
| diff --git a/google_apis/gcm/engine/mcs_client.cc b/google_apis/gcm/engine/mcs_client.cc
|
| index 9b5dc6e940ba5139c58b266bad8a24db191ee849..f952839a59e0567efb0f3bc1d38588e5540d5f81 100644
|
| --- a/google_apis/gcm/engine/mcs_client.cc
|
| +++ b/google_apis/gcm/engine/mcs_client.cc
|
| @@ -198,7 +198,6 @@ void MCSClient::Initialize(
|
| weak_ptr_factory_.GetWeakPtr()),
|
| base::Bind(&MCSClient::MaybeSendMessage,
|
| weak_ptr_factory_.GetWeakPtr()));
|
| - connection_handler_ = connection_factory_->GetConnectionHandler();
|
|
|
| stream_id_out_ = 1; // Login request is hardcoded to id 1.
|
|
|
| @@ -291,6 +290,7 @@ void MCSClient::Login(uint64 android_id, uint64 security_token) {
|
|
|
| state_ = CONNECTING;
|
| connection_factory_->Connect();
|
| + connection_handler_ = connection_factory_->GetConnectionHandler();
|
| }
|
|
|
| void MCSClient::SendMessage(const MCSMessage& message) {
|
|
|