Index: Source/core/css/StyleSheetContents.cpp |
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp |
index 1ee849ac8ff11d17af5189f73a5bda932bc48922..034d2269e30885a7477558826597a10a327a5cfb 100644 |
--- a/Source/core/css/StyleSheetContents.cpp |
+++ b/Source/core/css/StyleSheetContents.cpp |
@@ -98,7 +98,9 @@ StyleSheetContents::StyleSheetContents(const StyleSheetContents& o) |
StyleSheetContents::~StyleSheetContents() |
{ |
StyleEngine::removeSheet(this); |
+#if !ENABLE(OILPAN) |
clearRules(); |
+#endif |
} |
void StyleSheetContents::setHasSyntacticallyValidCSSHeader(bool isValidCss) |