| Index: content/child/web_data_consumer_handle_impl.cc
|
| diff --git a/content/child/web_data_consumer_handle_impl.cc b/content/child/web_data_consumer_handle_impl.cc
|
| index 0d8eca8c6e3d64ce03cd10823c28a0d343c80c6f..f4ded9d70e348d91588c2f7d9363e416c11f30c7 100644
|
| --- a/content/child/web_data_consumer_handle_impl.cc
|
| +++ b/content/child/web_data_consumer_handle_impl.cc
|
| @@ -5,8 +5,9 @@
|
| #include "content/child/web_data_consumer_handle_impl.h"
|
|
|
| #include <stdint.h>
|
| -
|
| #include <limits>
|
| +#include <utility>
|
| +
|
| #include "base/bind.h"
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| @@ -19,7 +20,7 @@ using Result = blink::WebDataConsumerHandle::Result;
|
| class WebDataConsumerHandleImpl::Context
|
| : public base::RefCountedThreadSafe<Context> {
|
| public:
|
| - explicit Context(Handle handle) : handle_(handle.Pass()) {}
|
| + explicit Context(Handle handle) : handle_(std::move(handle)) {}
|
|
|
| const Handle& handle() { return handle_; }
|
|
|
| @@ -121,8 +122,7 @@ void WebDataConsumerHandleImpl::ReaderImpl::OnHandleGotReadable(MojoResult) {
|
| }
|
|
|
| WebDataConsumerHandleImpl::WebDataConsumerHandleImpl(Handle handle)
|
| - : context_(new Context(handle.Pass())) {
|
| -}
|
| + : context_(new Context(std::move(handle))) {}
|
|
|
| WebDataConsumerHandleImpl::~WebDataConsumerHandleImpl() {
|
| }
|
|
|