| 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 79da674955010d3798d30316aa09f722aaf04524..9531be64bbf64abe11b1e8507a486cb2a9914134 100644
|
| --- a/third_party/WebKit/Source/core/css/StylePropertySet.cpp
|
| +++ b/third_party/WebKit/Source/core/css/StylePropertySet.cpp
|
| @@ -48,12 +48,8 @@ static size_t sizeForImmutableStylePropertySetWithPropertyCount(unsigned count)
|
| RawPtr<ImmutableStylePropertySet> ImmutableStylePropertySet::create(const CSSProperty* properties, unsigned count, CSSParserMode cssParserMode)
|
| {
|
| ASSERT(count <= MaxArraySize);
|
| -#if ENABLE(OILPAN)
|
| void* slot = Heap::allocate<StylePropertySet>(sizeForImmutableStylePropertySetWithPropertyCount(count));
|
| -#else
|
| - void* slot = WTF::Partitions::fastMalloc(sizeForImmutableStylePropertySetWithPropertyCount(count), "blink::ImmutableStylePropertySet");
|
| -#endif // ENABLE(OILPAN)
|
| - return adoptRefWillBeNoop(new (slot) ImmutableStylePropertySet(properties, count, cssParserMode));
|
| + return new (slot) ImmutableStylePropertySet(properties, count, cssParserMode);
|
| }
|
|
|
| RawPtr<ImmutableStylePropertySet> StylePropertySet::immutableCopyIfNeeded() const
|
|
|