Index: third_party/WebKit/Source/core/css/StylePropertySet.cpp |
diff --git a/third_party/WebKit/Source/core/css/StylePropertySet.cpp b/third_party/WebKit/Source/core/css/StylePropertySet.cpp |
index f6c760f9197d1e17abffa57751b90b65a51c83c0..a4ecddf0560140bd1354aea07e2b2091df116da1 100644 |
--- a/third_party/WebKit/Source/core/css/StylePropertySet.cpp |
+++ b/third_party/WebKit/Source/core/css/StylePropertySet.cpp |
@@ -70,8 +70,9 @@ MutableStylePropertySet::MutableStylePropertySet(CSSParserMode cssParserMode) |
: StylePropertySet(cssParserMode) {} |
MutableStylePropertySet::MutableStylePropertySet(const CSSProperty* properties, |
- unsigned length) |
- : StylePropertySet(HTMLStandardMode) { |
+ unsigned length, |
+ CSSParserMode cssParserMode) |
+ : StylePropertySet(cssParserMode) { |
m_propertyVector.reserveInitialCapacity(length); |
for (unsigned i = 0; i < length; ++i) |
m_propertyVector.uncheckedAppend(properties[i]); |
@@ -597,8 +598,9 @@ MutableStylePropertySet* MutableStylePropertySet::create( |
MutableStylePropertySet* MutableStylePropertySet::create( |
const CSSProperty* properties, |
- unsigned count) { |
- return new MutableStylePropertySet(properties, count); |
+ unsigned count, |
+ CSSParserMode cssParserMode) { |
+ return new MutableStylePropertySet(properties, count, cssParserMode); |
} |
} // namespace blink |