Index: mojo/common/data_pipe_drainer.cc |
diff --git a/mojo/common/data_pipe_drainer.cc b/mojo/common/data_pipe_drainer.cc |
index 588388d6063861c6d9f6779a01226907266d3b41..1ac3e12540af3cf7cc3256dced96923f85897b17 100644 |
--- a/mojo/common/data_pipe_drainer.cc |
+++ b/mojo/common/data_pipe_drainer.cc |
@@ -4,6 +4,8 @@ |
#include "mojo/common/data_pipe_drainer.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
namespace mojo { |
@@ -11,7 +13,7 @@ namespace common { |
DataPipeDrainer::DataPipeDrainer(Client* client, |
mojo::ScopedDataPipeConsumerHandle source) |
- : client_(client), source_(source.Pass()), weak_factory_(this) { |
+ : client_(client), source_(std::move(source)), weak_factory_(this) { |
DCHECK(client_); |
ReadData(); |
} |