Index: Source/core/svg/SVGTextPathElement.cpp |
diff --git a/Source/core/svg/SVGTextPathElement.cpp b/Source/core/svg/SVGTextPathElement.cpp |
index cf2bfc97f7181aecc1158eddaa005a280bf950f2..cd9f3b389f30f1779c537d4ec9b6e78046adad98 100644 |
--- a/Source/core/svg/SVGTextPathElement.cpp |
+++ b/Source/core/svg/SVGTextPathElement.cpp |
@@ -70,7 +70,9 @@ PassRefPtr<SVGTextPathElement> SVGTextPathElement::create(Document& document) |
SVGTextPathElement::~SVGTextPathElement() |
{ |
+#if !ENABLE(OILPAN) |
clearResourceReferences(); |
+#endif |
} |
void SVGTextPathElement::clearResourceReferences() |