Index: Source/core/css/CSSFontFaceRule.cpp |
diff --git a/Source/core/css/CSSFontFaceRule.cpp b/Source/core/css/CSSFontFaceRule.cpp |
index c4f6e60882ee1f6e01106dbfc9da998b6b2830aa..276ffbfc578d65159cba3dc1be1b47f2dc610c25 100644 |
--- a/Source/core/css/CSSFontFaceRule.cpp |
+++ b/Source/core/css/CSSFontFaceRule.cpp |
@@ -37,8 +37,10 @@ CSSFontFaceRule::CSSFontFaceRule(StyleRuleFontFace* fontFaceRule, CSSStyleSheet* |
CSSFontFaceRule::~CSSFontFaceRule() |
{ |
+#if !ENABLE(OILPAN) |
if (m_propertiesCSSOMWrapper) |
m_propertiesCSSOMWrapper->clearParentRule(); |
+#endif |
} |
CSSStyleDeclaration* CSSFontFaceRule::style() const |
@@ -71,6 +73,7 @@ void CSSFontFaceRule::reattach(StyleRuleBase* rule) |
void CSSFontFaceRule::trace(Visitor* visitor) |
{ |
visitor->trace(m_fontFaceRule); |
+ visitor->trace(m_propertiesCSSOMWrapper); |
CSSRule::trace(visitor); |
} |