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

Unified Diff: third_party/WebKit/WebCore/platform/network/FormData.cpp

Issue 20076: WebKit merge 40500:40539 [WebKit side] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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
Index: third_party/WebKit/WebCore/platform/network/FormData.cpp
===================================================================
--- third_party/WebKit/WebCore/platform/network/FormData.cpp (revision 9118)
+++ third_party/WebKit/WebCore/platform/network/FormData.cpp (working copy)
@@ -98,7 +98,7 @@
formData->m_alwaysStream = m_alwaysStream;
size_t n = m_elements.size();
- formData->m_elements.reserveCapacity(n);
+ formData->m_elements.reserveInitialCapacity(n);
for (size_t i = 0; i < n; ++i) {
const FormDataElement& e = m_elements[i];
switch (e.m_type) {

Powered by Google App Engine
This is Rietveld 408576698