Index: third_party/WebKit/WebCore/page/SecurityOrigin.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/page/SecurityOrigin.cpp (revision 9118) |
+++ third_party/WebKit/WebCore/page/SecurityOrigin.cpp (working copy) |
@@ -221,7 +221,7 @@ |
return String("file://"); |
Vector<UChar> result; |
- result.reserveCapacity(m_protocol.length() + m_host.length() + 10); |
+ result.reserveInitialCapacity(m_protocol.length() + m_host.length() + 10); |
append(result, m_protocol); |
append(result, "://"); |
append(result, m_host); |