Index: Source/core/svg/SVGUseElement.cpp |
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp |
index 872c04991a2fe425ceccd93628d2e2d5fb6493cc..ecdea38ef69b5fd4692b2d62d0236f271d2b4403 100644 |
--- a/Source/core/svg/SVGUseElement.cpp |
+++ b/Source/core/svg/SVGUseElement.cpp |
@@ -83,8 +83,9 @@ PassRefPtr<SVGUseElement> SVGUseElement::create(Document& document, bool wasInse |
SVGUseElement::~SVGUseElement() |
{ |
setDocumentResource(0); |
- |
+#if !ENABLE(OILPAN) |
clearResourceReferences(); |
+#endif |
} |
SVGElementInstance* SVGUseElement::instanceRoot() |