| Index: ipc/handle_win.cc
|
| diff --git a/ipc/handle_win.cc b/ipc/handle_win.cc
|
| index 703211486b1d69b57627f3c6c7516a291e4375c7..45fbae40ee8cf24474ee2070a4b2b7ea17af2e12 100644
|
| --- a/ipc/handle_win.cc
|
| +++ b/ipc/handle_win.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "ipc/handle_win.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/logging.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/strings/string_number_conversions.h"
|
| @@ -23,7 +25,7 @@ void ParamTraits<HandleWin>::Write(Message* m, const param_type& p) {
|
| scoped_refptr<IPC::internal::HandleAttachmentWin> attachment(
|
| new IPC::internal::HandleAttachmentWin(p.get_handle(),
|
| p.get_permissions()));
|
| - if (!m->WriteAttachment(attachment.Pass()))
|
| + if (!m->WriteAttachment(std::move(attachment)))
|
| NOTREACHED();
|
| }
|
|
|
|
|