| Index: sky/engine/core/css/StylePropertySet.cpp
|
| diff --git a/sky/engine/core/css/StylePropertySet.cpp b/sky/engine/core/css/StylePropertySet.cpp
|
| index b04848e1665a389bdf147638039e20d5df732362..c03e2a310a20a14e95d2db4519db3db3ab125b61 100644
|
| --- a/sky/engine/core/css/StylePropertySet.cpp
|
| +++ b/sky/engine/core/css/StylePropertySet.cpp
|
| @@ -112,14 +112,6 @@ int ImmutableStylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const
|
| return -1;
|
| }
|
|
|
| -void ImmutableStylePropertySet::traceAfterDispatch(Visitor* visitor)
|
| -{
|
| - const RawPtr<CSSValue>* values = valueArray();
|
| - for (unsigned i = 0; i < m_arraySize; i++)
|
| - visitor->trace(values[i]);
|
| - StylePropertySet::traceAfterDispatch(visitor);
|
| -}
|
| -
|
| MutableStylePropertySet::MutableStylePropertySet(const StylePropertySet& other)
|
| : StylePropertySet(other.cssParserMode())
|
| {
|
| @@ -149,24 +141,6 @@ PassRefPtr<CSSValue> StylePropertySet::getPropertyCSSValue(CSSPropertyID propert
|
| return propertyAt(foundPropertyIndex).value();
|
| }
|
|
|
| -void StylePropertySet::trace(Visitor* visitor)
|
| -{
|
| - if (m_isMutable)
|
| - toMutableStylePropertySet(this)->traceAfterDispatch(visitor);
|
| - else
|
| - toImmutableStylePropertySet(this)->traceAfterDispatch(visitor);
|
| -}
|
| -
|
| -#if ENABLE(OILPAN)
|
| -void StylePropertySet::finalizeGarbageCollectedObject()
|
| -{
|
| - if (m_isMutable)
|
| - toMutableStylePropertySet(this)->~MutableStylePropertySet();
|
| - else
|
| - toImmutableStylePropertySet(this)->~ImmutableStylePropertySet();
|
| -}
|
| -#endif
|
| -
|
| bool MutableStylePropertySet::removeShorthandProperty(CSSPropertyID propertyID)
|
| {
|
| StylePropertyShorthand shorthand = shorthandForProperty(propertyID);
|
| @@ -549,13 +523,6 @@ int MutableStylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const
|
| return -1;
|
| }
|
|
|
| -void MutableStylePropertySet::traceAfterDispatch(Visitor* visitor)
|
| -{
|
| - visitor->trace(m_cssomWrapper);
|
| - visitor->trace(m_propertyVector);
|
| - StylePropertySet::traceAfterDispatch(visitor);
|
| -}
|
| -
|
| unsigned StylePropertySet::averageSizeInBytes()
|
| {
|
| // Please update this if the storage scheme changes so that this longer reflects the actual size.
|
|
|