Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1181)

Unified Diff: ipc/handle_win.cc

Issue 1477643002: Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basepass
Patch Set: type-with-move: no-media Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/net/crw_cert_verification_controller.mm ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « ios/web/net/crw_cert_verification_controller.mm ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698