Index: third_party/WebKit/WebCore/html/HTMLTokenizer.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/html/HTMLTokenizer.cpp (revision 9118) |
+++ third_party/WebKit/WebCore/html/HTMLTokenizer.cpp (working copy) |
@@ -140,7 +140,7 @@ |
RefPtr<MappedAttribute> a = MappedAttribute::create(attrName, attributeValue); |
if (!attrs) { |
attrs = NamedMappedAttrMap::create(); |
- attrs->reserveCapacity(10); |
+ attrs->reserveInitialCapacity(10); |
} |
attrs->insertAttribute(a.release(), viewSourceMode); |
} |