| Index: google_apis/gcm/engine/connection_handler_impl.cc
|
| diff --git a/google_apis/gcm/engine/connection_handler_impl.cc b/google_apis/gcm/engine/connection_handler_impl.cc
|
| index 0b7dce94eefdb6eeaa75b9284f6e26bd6e03010d..eb3e01ef19e4fe0fc985a5390764e97accdc7b7b 100644
|
| --- a/google_apis/gcm/engine/connection_handler_impl.cc
|
| +++ b/google_apis/gcm/engine/connection_handler_impl.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "google_apis/gcm/engine/connection_handler_impl.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/location.h"
|
| #include "base/thread_task_runner_handle.h"
|
| #include "google/protobuf/io/coded_stream.h"
|
| @@ -388,7 +390,7 @@ void ConnectionHandlerImpl::OnGotMessageBytes() {
|
| FROM_HERE,
|
| base::Bind(&ConnectionHandlerImpl::GetNextMessage,
|
| weak_ptr_factory_.GetWeakPtr()));
|
| - read_callback_.Run(protobuf.Pass());
|
| + read_callback_.Run(std::move(protobuf));
|
| return;
|
| }
|
|
|
| @@ -470,7 +472,7 @@ void ConnectionHandlerImpl::OnGotMessageBytes() {
|
| connection_callback_.Run(net::OK);
|
| }
|
| }
|
| - read_callback_.Run(protobuf.Pass());
|
| + read_callback_.Run(std::move(protobuf));
|
| }
|
|
|
| void ConnectionHandlerImpl::OnTimeout() {
|
|
|