| Index: Source/core/css/StylePropertySet.cpp
|
| diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp
|
| index c1e5893137ce023448a6eafc49d029ed8e6cedc3..6e42fe2ee01c65e976c015784adc0c967c37e94c 100644
|
| --- a/Source/core/css/StylePropertySet.cpp
|
| +++ b/Source/core/css/StylePropertySet.cpp
|
| @@ -319,7 +319,7 @@ void MutableStylePropertySet::parseDeclaration(const String& styleDeclaration, S
|
| parser.parseDeclaration(this, styleDeclaration, 0, contextStyleSheet);
|
| }
|
|
|
| -void MutableStylePropertySet::addParsedProperties(const Vector<CSSProperty, 256>& properties)
|
| +void MutableStylePropertySet::addParsedProperties(const WillBeHeapVector<CSSProperty, 256>& properties)
|
| {
|
| m_propertyVector.reserveCapacity(m_propertyVector.size() + properties.size());
|
| for (unsigned i = 0; i < properties.size(); ++i)
|
| @@ -419,7 +419,7 @@ bool MutableStylePropertySet::removePropertiesInSet(const CSSPropertyID* set, un
|
| for (unsigned i = 0; i < length; ++i)
|
| toRemove.add(set[i]);
|
|
|
| - Vector<CSSProperty> newProperties;
|
| + WillBeHeapVector<CSSProperty> newProperties;
|
| newProperties.reserveInitialCapacity(m_propertyVector.size());
|
|
|
| unsigned size = m_propertyVector.size();
|
| @@ -489,7 +489,7 @@ PassRefPtr<MutableStylePropertySet> StylePropertySet::mutableCopy() const
|
|
|
| PassRefPtr<MutableStylePropertySet> StylePropertySet::copyPropertiesInSet(const Vector<CSSPropertyID>& properties) const
|
| {
|
| - Vector<CSSProperty, 256> list;
|
| + WillBeHeapVector<CSSProperty, 256> list;
|
| list.reserveInitialCapacity(properties.size());
|
| for (unsigned i = 0; i < properties.size(); ++i) {
|
| RefPtrWillBeRawPtr<CSSValue> value = getPropertyCSSValue(properties[i]);
|
|
|