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

Unified Diff: third_party/WebKit/Source/core/xml/XMLSerializer.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/XMLSerializer.cpp
diff --git a/third_party/WebKit/Source/core/xml/XMLSerializer.cpp b/third_party/WebKit/Source/core/xml/XMLSerializer.cpp
index 81156134d5ec95565121011c7b42f99bb05589d8..3222aca5e974f49636c0f46a948579ff7aac6297 100644
--- a/third_party/WebKit/Source/core/xml/XMLSerializer.cpp
+++ b/third_party/WebKit/Source/core/xml/XMLSerializer.cpp
@@ -27,7 +27,7 @@ namespace blink {
String XMLSerializer::serializeToString(Node* root)
{
- ASSERT(root);
+ DCHECK(root);
MarkupAccumulator accumulator(DoNotResolveURLs, SerializationType::ForcedXML);
return serializeNodes<EditingStrategy>(accumulator, *root, IncludeNode);
}
« no previous file with comments | « third_party/WebKit/Source/core/xml/DocumentXSLT.cpp ('k') | third_party/WebKit/Source/core/xml/XPathFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698