Index: Source/core/xml/XSLTProcessor.cpp |
diff --git a/Source/core/xml/XSLTProcessor.cpp b/Source/core/xml/XSLTProcessor.cpp |
index a2061fa7746d56375a0c9432a278172ceef4f2e6..b6408dbe829ec2b970dc6ff389cfef35a7911e0e 100644 |
--- a/Source/core/xml/XSLTProcessor.cpp |
+++ b/Source/core/xml/XSLTProcessor.cpp |
@@ -54,8 +54,10 @@ static inline void transformTextStringToXHTMLDocumentString(String& text) |
XSLTProcessor::~XSLTProcessor() |
{ |
+#if !ENABLE(OILPAN) |
// Stylesheet shouldn't outlive its root node. |
ASSERT(!m_stylesheetRootNode || !m_stylesheet || m_stylesheet->hasOneRef()); |
+#endif |
} |
PassRefPtr<Document> XSLTProcessor::createDocumentFromSource(const String& sourceString, |
@@ -157,4 +159,9 @@ void XSLTProcessor::reset() |
m_parameters.clear(); |
} |
+void XSLTProcessor::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_stylesheet); |
+} |
+ |
} // namespace WebCore |