Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1963)

Unified Diff: Source/core/xml/XSLTProcessor.cpp

Issue 196513007: Oilpan: Reapply: Remove all the RefPtrs and most of the raw pointers to style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix assertion for global persistents Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/xml/XSLTProcessor.h ('k') | Source/core/xml/XSLTProcessorLibxslt.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/xml/XSLTProcessor.h ('k') | Source/core/xml/XSLTProcessorLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698