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

Unified Diff: sky/engine/core/css/CSSRuleList.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/CSSRuleList.h ('k') | sky/engine/core/css/CSSSegmentedFontFace.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSRuleList.cpp
diff --git a/sky/engine/core/css/CSSRuleList.cpp b/sky/engine/core/css/CSSRuleList.cpp
index 7f3a7f2a4bc0bbc953b5f20db33e0f4108cd8121..c670ed302248cfdb6d871fab74cf358ca1b162a8 100644
--- a/sky/engine/core/css/CSSRuleList.cpp
+++ b/sky/engine/core/css/CSSRuleList.cpp
@@ -35,9 +35,7 @@ CSSRuleList::~CSSRuleList()
}
StaticCSSRuleList::StaticCSSRuleList()
-#if !ENABLE(OILPAN)
: m_refCount(1)
-#endif
{
}
@@ -45,20 +43,11 @@ StaticCSSRuleList::~StaticCSSRuleList()
{
}
-#if !ENABLE(OILPAN)
void StaticCSSRuleList::deref()
{
ASSERT(m_refCount);
if (!--m_refCount)
delete this;
}
-#endif
-
-void StaticCSSRuleList::trace(Visitor* visitor)
-{
- visitor->trace(m_rules);
- CSSRuleList::trace(visitor);
-}
-
} // namespace blink
« no previous file with comments | « sky/engine/core/css/CSSRuleList.h ('k') | sky/engine/core/css/CSSSegmentedFontFace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698