| Index: Source/core/css/CSSImportRule.cpp
|
| diff --git a/Source/core/css/CSSImportRule.cpp b/Source/core/css/CSSImportRule.cpp
|
| index a552f7b9560a87ea6a8dc330c7c0c5684ffae14b..8d5af2f77094b536a80fbebe88197d11685b9008 100644
|
| --- a/Source/core/css/CSSImportRule.cpp
|
| +++ b/Source/core/css/CSSImportRule.cpp
|
| @@ -38,9 +38,9 @@ CSSImportRule::CSSImportRule(StyleRuleImport* importRule, CSSStyleSheet* parent)
|
|
|
| CSSImportRule::~CSSImportRule()
|
| {
|
| +#if !ENABLE(OILPAN)
|
| if (m_styleSheetCSSOMWrapper)
|
| m_styleSheetCSSOMWrapper->clearOwnerRule();
|
| -#if !ENABLE(OILPAN)
|
| // MediaList and the parent CSSImportRule are both on the oilpan heap and die together.
|
| // Therefor clearing is not needed nor allowed since it could be touching already
|
| // finalized memory.
|
| @@ -100,6 +100,7 @@ void CSSImportRule::trace(Visitor* visitor)
|
| {
|
| visitor->trace(m_importRule);
|
| visitor->trace(m_mediaCSSOMWrapper);
|
| + visitor->trace(m_styleSheetCSSOMWrapper);
|
| CSSRule::trace(visitor);
|
| }
|
|
|
|
|