Index: Source/core/svg/SVGElement.cpp |
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp |
index 7b84ce2671c2a15a0a07e0219a01a881266e0b29..9d24a7c4072f042dadac6f4ab7e4920dc934fbfc 100644 |
--- a/Source/core/svg/SVGElement.cpp |
+++ b/Source/core/svg/SVGElement.cpp |
@@ -100,9 +100,12 @@ SVGElement::~SVGElement() |
m_SVGRareData.clear(); |
} |
+ // FIXME: Oilpan: Some of the rebuild callbacks are still required in oilpan. |
+ // We need to convert all of them to weak processing. |
+ document().accessSVGExtensions().rebuildAllElementReferencesForTarget(this); |
+ |
// With Oilpan, either removedFrom has been called or the document is dead |
// as well and there is no reason to clear out the extensions. |
- document().accessSVGExtensions().rebuildAllElementReferencesForTarget(this); |
document().accessSVGExtensions().removeAllElementReferencesForTarget(this); |
#endif |
} |