Chromium Code Reviews| Index: Source/core/css/CSSRuleList.cpp |
| diff --git a/Source/core/css/CSSRuleList.cpp b/Source/core/css/CSSRuleList.cpp |
| index 499518bde5d45da3b6ce26c1cbaffecb21fad241..89f0765514b24e19f85235e63aca7e77a1e1c21d 100644 |
| --- a/Source/core/css/CSSRuleList.cpp |
| +++ b/Source/core/css/CSSRuleList.cpp |
| @@ -35,7 +35,9 @@ CSSRuleList::~CSSRuleList() |
| } |
| StaticCSSRuleList::StaticCSSRuleList() |
| +#if !ENABLE(OILPAN) |
| : m_refCount(1) |
| +#endif |
| { |
| } |
| @@ -43,11 +45,20 @@ StaticCSSRuleList::~StaticCSSRuleList() |
| { |
| } |
| +#if !ENABLE(OILPAN) |
| void StaticCSSRuleList::deref() |
| { |
| ASSERT(m_refCount); |
| if (!--m_refCount) |
| delete this; |
| } |
| +#endif |
| + |
| +void StaticCSSRuleList::trace(Visitor* visitor) |
| +{ |
| + CSSRuleList::trace(visitor); |
|
zerny-chromium
2014/03/10 14:00:21
This one can be left out too if the base is pure-v
Erik Corry
2014/03/12 10:36:41
Done.
|
| + visitor->trace(m_rules); |
| +} |
| + |
| } // namespace WebCore |