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

Unified Diff: third_party/WebKit/Source/core/xml/XSLStyleSheet.h

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/XSLStyleSheet.h
diff --git a/third_party/WebKit/Source/core/xml/XSLStyleSheet.h b/third_party/WebKit/Source/core/xml/XSLStyleSheet.h
index 4e8a816da5e063221decfa29f1b61921b55ce354..4c3782b50745a452c1f0578168c18c7b0b0efe92 100644
--- a/third_party/WebKit/Source/core/xml/XSLStyleSheet.h
+++ b/third_party/WebKit/Source/core/xml/XSLStyleSheet.h
@@ -38,17 +38,17 @@ class XSLStyleSheet final : public StyleSheet {
public:
static XSLStyleSheet* create(XSLImportRule* parentImport, const String& originalURL, const KURL& finalURL)
{
- ASSERT(RuntimeEnabledFeatures::xsltEnabled());
+ DCHECK(RuntimeEnabledFeatures::xsltEnabled());
return new XSLStyleSheet(parentImport, originalURL, finalURL);
}
static XSLStyleSheet* create(ProcessingInstruction* parentNode, const String& originalURL, const KURL& finalURL)
{
- ASSERT(RuntimeEnabledFeatures::xsltEnabled());
+ DCHECK(RuntimeEnabledFeatures::xsltEnabled());
return new XSLStyleSheet(parentNode, originalURL, finalURL, false);
}
static XSLStyleSheet* createEmbedded(ProcessingInstruction* parentNode, const KURL& finalURL)
{
- ASSERT(RuntimeEnabledFeatures::xsltEnabled());
+ DCHECK(RuntimeEnabledFeatures::xsltEnabled());
return new XSLStyleSheet(parentNode, finalURL.getString(), finalURL, true);
}
@@ -57,7 +57,7 @@ public:
// parent, in part by not exposing it to JavaScript.
static XSLStyleSheet* createForXSLTProcessor(Document* document, Node* stylesheetRootNode, const String& originalURL, const KURL& finalURL)
{
- ASSERT(RuntimeEnabledFeatures::xsltEnabled());
+ DCHECK(RuntimeEnabledFeatures::xsltEnabled());
return new XSLStyleSheet(document, stylesheetRootNode, originalURL, finalURL, false);
}
« no previous file with comments | « third_party/WebKit/Source/core/xml/XSLImportRule.cpp ('k') | third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698