Index: Source/core/svg/SVGTextPathElement.cpp |
diff --git a/Source/core/svg/SVGTextPathElement.cpp b/Source/core/svg/SVGTextPathElement.cpp |
index 588710c86b16c610e29923e6c8194b0ad12854ce..ff06f81ff9e8c4ad47273c8c18eadbf1f77d96c7 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() |