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

Unified Diff: net/base/elements_upload_data_stream.cc

Issue 1150943002: Subsituting pattern ScopedVector push_back.(ptr.release()) with push_back(ptr.Pass()) in net/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated AUTHERS file with respect of comments Created 5 years, 7 months 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 | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698