Index: Source/core/html/HTMLLinkElement.cpp |
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp |
index 11257d8cbd118da2b48794182e2fbeb9f6214b83..83ef230ff9e525a5f5772868bfebf81b26117d5d 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); |
} |