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

Unified Diff: third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp

Issue 2274573004: Replace ASSERT*() with DCHECK*() in core/xml/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
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;
}
« no previous file with comments | « third_party/WebKit/Source/core/xml/XSLStyleSheet.h ('k') | third_party/WebKit/Source/core/xml/XSLTExtensions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698