Index: third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp |
diff --git a/third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp b/third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp |
index 5daecd421ed47e1e8f3790167b66bf40dc902eb8..bb02de6146d2675c415958167ee9882a674fa9f3 100644 |
--- a/third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp |
+++ b/third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp |
@@ -239,7 +239,7 @@ xsltStylesheetPtr XSLStyleSheet::compileStyleSheet() |
// xsltParseStylesheetDoc makes the document part of the stylesheet |
// so we have to release our pointer to it. |
- ASSERT(!m_stylesheetDocTaken); |
+ DCHECK(!m_stylesheetDocTaken); |
xsltStylesheetPtr result = xsltParseStylesheetDoc(m_stylesheetDoc); |
if (result) |
m_stylesheetDocTaken = true; |
@@ -303,8 +303,8 @@ xmlDocPtr XSLStyleSheet::locateStylesheetSubResource(xmlDocPtr parentDoc, const |
void XSLStyleSheet::markAsProcessed() |
{ |
- ASSERT(!m_processed); |
- ASSERT(!m_stylesheetDocTaken); |
+ DCHECK(!m_processed); |
+ DCHECK(!m_stylesheetDocTaken); |
m_processed = true; |
m_stylesheetDocTaken = true; |
} |