Index: Source/core/xml/XSLStyleSheetLibxslt.cpp |
diff --git a/Source/core/xml/XSLStyleSheetLibxslt.cpp b/Source/core/xml/XSLStyleSheetLibxslt.cpp |
index 215d922f761bf7ae1583309d3152f9e9d90361a8..e765eea2b25116872b9b655319a9c112d0c84670 100644 |
--- a/Source/core/xml/XSLStyleSheetLibxslt.cpp |
+++ b/Source/core/xml/XSLStyleSheetLibxslt.cpp |
@@ -62,7 +62,7 @@ XSLStyleSheet::XSLStyleSheet(Node* parentNode, const String& originalURL, const |
, m_stylesheetDoc(0) |
, m_stylesheetDocTaken(false) |
, m_compilationFailed(false) |
- , m_parentStyleSheet(0) |
+ , m_parentStyleSheet(nullptr) |
{ |
} |
@@ -303,8 +303,9 @@ void XSLStyleSheet::markAsProcessed() |
m_stylesheetDocTaken = true; |
} |
-void XSLStyleSheet::trace(Visitor*) |
+void XSLStyleSheet::trace(Visitor* visitor) |
{ |
+ visitor->trace(m_parentStyleSheet); |
} |
} // namespace WebCore |