Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1167)

Unified Diff: sky/engine/core/css/StylePropertySet.cpp

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/css/StylePropertySet.h ('k') | sky/engine/core/css/StyleRule.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « sky/engine/core/css/StylePropertySet.h ('k') | sky/engine/core/css/StyleRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698