diff options
Diffstat (limited to 'WebCore/css/CSSStyleDeclaration.cpp')
-rw-r--r-- | WebCore/css/CSSStyleDeclaration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/css/CSSStyleDeclaration.cpp b/WebCore/css/CSSStyleDeclaration.cpp index b840e07..a35f817 100644 --- a/WebCore/css/CSSStyleDeclaration.cpp +++ b/WebCore/css/CSSStyleDeclaration.cpp @@ -142,7 +142,7 @@ void CSSStyleDeclaration::diff(CSSMutableStyleDeclaration* style) const PassRefPtr<CSSMutableStyleDeclaration> CSSStyleDeclaration::copyPropertiesInSet(const int* set, unsigned length) const { Vector<CSSProperty> list; - list.reserveCapacity(length); + list.reserveInitialCapacity(length); unsigned variableDependentValueCount = 0; for (unsigned i = 0; i < length; i++) { RefPtr<CSSValue> value = getPropertyCSSValue(set[i]); |