Chromium Code Reviews
Descriptionnet: Change type of UploadData::elements from std::vector to ScopedVector
Using std::vector to hold UploadElement is bad for two reasons:
1. It results in a lot of unnecessary copy of uploaded data.
2. Appending new chunks may result in invalidating the pointer held by UploadBytesElementReader.
BUG=160028
TEST=git try
TBR=ananta@chromium.org, tony@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167611
Patch Set 1 : _ #Patch Set 2 : _ #
Total comments: 6
Patch Set 3 : Move ParamTraits to ipc_message_utils.h #
Total comments: 2
Patch Set 4 : rebase #Patch Set 5 : Address comments #Patch Set 6 : rebase #Messages
Total messages: 10 (0 generated)
|