Index: ios/net/crn_http_protocol_handler.mm |
diff --git a/ios/net/crn_http_protocol_handler.mm b/ios/net/crn_http_protocol_handler.mm |
index 0f1a59694bbb623282a1dd95caa10170981185b9..155829da5753573e8d1ebfa85c67c140cf61f57d 100644 |
--- a/ios/net/crn_http_protocol_handler.mm |
+++ b/ios/net/crn_http_protocol_handler.mm |
@@ -6,6 +6,7 @@ |
#include <stdint.h> |
+#include <utility> |
#include <vector> |
#include "base/command_line.h" |
@@ -724,7 +725,7 @@ void HttpProtocolHandlerCore::Start(id<CRNNetworkClientProtocol> base_client) { |
scoped_ptr<UploadElementReader> reader( |
new UploadOwnedBytesElementReader(&owned_data)); |
net_request_->set_upload( |
- ElementsUploadDataStream::CreateWithReader(reader.Pass(), 0)); |
+ ElementsUploadDataStream::CreateWithReader(std::move(reader), 0)); |
} |
net_request_->Start(); |