Index: google_apis/gcm/engine/connection_factory_impl.cc |
diff --git a/google_apis/gcm/engine/connection_factory_impl.cc b/google_apis/gcm/engine/connection_factory_impl.cc |
index 19f456c39869b5930b3d1613afb5a43c4b2e7cf3..43bac40cd4d4a778b588be09f57e2be8849bf48a 100644 |
--- a/google_apis/gcm/engine/connection_factory_impl.cc |
+++ b/google_apis/gcm/engine/connection_factory_impl.cc |
@@ -107,11 +107,10 @@ ConnectionHandler* ConnectionFactoryImpl::GetConnectionHandler() const { |
void ConnectionFactoryImpl::Connect() { |
if (!connection_handler_) { |
connection_handler_ = CreateConnectionHandler( |
- base::TimeDelta::FromMilliseconds(kReadTimeoutMs), |
- read_callback_, |
+ base::TimeDelta::FromMilliseconds(kReadTimeoutMs), read_callback_, |
write_callback_, |
base::Bind(&ConnectionFactoryImpl::ConnectionHandlerCallback, |
- weak_ptr_factory_.GetWeakPtr())).Pass(); |
+ weak_ptr_factory_.GetWeakPtr())); |
} |
if (connecting_ || waiting_for_backoff_) |