Index: net/base/elements_upload_data_stream.cc |
diff --git a/net/base/elements_upload_data_stream.cc b/net/base/elements_upload_data_stream.cc |
index e8d33ee851a1229274224f2c2e3d74aedcb547df..06c3e3e9c2eb7ef9e9d6f0639f7463b38a71c831 100644 |
--- a/net/base/elements_upload_data_stream.cc |
+++ b/net/base/elements_upload_data_stream.cc |
@@ -31,7 +31,7 @@ scoped_ptr<UploadDataStream> ElementsUploadDataStream::CreateWithReader( |
scoped_ptr<UploadElementReader> reader, |
int64 identifier) { |
ScopedVector<UploadElementReader> readers; |
- readers.push_back(reader.release()); |
+ readers.push_back(reader.Pass()); |
return scoped_ptr<UploadDataStream>( |
new ElementsUploadDataStream(readers.Pass(), identifier)); |
} |