Index: mojo/edk/system/raw_channel.cc |
diff --git a/mojo/edk/system/raw_channel.cc b/mojo/edk/system/raw_channel.cc |
index 20f74d28de86d1a2c320663ed2c2f1cbea1afd48..0f89bc3e054067e1d84a427ff361b66fd1bfe420 100644 |
--- a/mojo/edk/system/raw_channel.cc |
+++ b/mojo/edk/system/raw_channel.cc |
@@ -7,6 +7,7 @@ |
#include <string.h> |
#include <algorithm> |
+#include <utility> |
#include "base/bind.h" |
#include "base/location.h" |
@@ -217,7 +218,7 @@ void RawChannel::Shutdown() { |
write_stopped_ = true; |
weak_ptr_factory_.InvalidateWeakPtrs(); |
- OnShutdownNoLock(read_buffer_.Pass(), write_buffer_.Pass()); |
+ OnShutdownNoLock(std::move(read_buffer_), std::move(write_buffer_)); |
} |
// Reminder: This must be thread-safe. |