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

Unified Diff: third_party/WebKit/WebCore/css/CSSStyleDeclaration.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/css/CSSStyleDeclaration.cpp
===================================================================
--- third_party/WebKit/WebCore/css/CSSStyleDeclaration.cpp (revision 9118)
+++ third_party/WebKit/WebCore/css/CSSStyleDeclaration.cpp (working copy)
@@ -142,7 +142,7 @@
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]);
« no previous file with comments | « third_party/WebKit/WebCore/css/CSSPrimitiveValue.cpp ('k') | third_party/WebKit/WebCore/css/CSSStyleSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698