Index: third_party/WebKit/WebCore/css/CSSPrimitiveValue.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/css/CSSPrimitiveValue.cpp (revision 9118) |
+++ third_party/WebKit/WebCore/css/CSSPrimitiveValue.cpp (working copy) |
@@ -768,7 +768,7 @@ |
Rect* rectVal = getRectValue(); |
Vector<UChar> result; |
- result.reserveCapacity(32); |
+ result.reserveInitialCapacity(32); |
append(result, rectParen); |
append(result, rectVal->top()->cssText()); |
@@ -797,7 +797,7 @@ |
Color color(rgbColor); |
Vector<UChar> result; |
- result.reserveCapacity(32); |
+ result.reserveInitialCapacity(32); |
if (color.hasAlpha()) |
append(result, rgbaParen); |
else |