Index: Source/core/svg/SVGUseElement.cpp |
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp |
index 5e6e88cadb467d5e2274fe9946b7dacc72d9bde7..c36b3658ef3b07e7eb81494409dd8d16c436b9a4 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() |