Index: Source/core/html/HTMLLinkElement.cpp |
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp |
index d1a782ec5a6a8b82b6c13f0d3b1abcdcdda1614a..f85d7e86fe6e8e5c8f8a36ba1cdd5b3cd2b192f6 100644 |
--- a/Source/core/html/HTMLLinkElement.cpp |
+++ b/Source/core/html/HTMLLinkElement.cpp |
@@ -149,8 +149,10 @@ HTMLLinkElement::~HTMLLinkElement() |
{ |
m_link.clear(); |
+#if !ENABLE(OILPAN) |
if (inDocument()) |
document().styleEngine()->removeStyleSheetCandidateNode(this); |
+#endif |
linkLoadEventSender().cancelEvent(this); |
} |