Index: Source/core/css/StyleSheetContents.cpp |
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp |
index 6db484b3c2fae8ec57b27ce13ee1675e8a663501..034d2269e30885a7477558826597a10a327a5cfb 100644 |
--- a/Source/core/css/StyleSheetContents.cpp |
+++ b/Source/core/css/StyleSheetContents.cpp |
@@ -97,8 +97,8 @@ |
StyleSheetContents::~StyleSheetContents() |
{ |
+ StyleEngine::removeSheet(this); |
#if !ENABLE(OILPAN) |
- StyleEngine::removeSheet(this); |
clearRules(); |
#endif |
} |