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

Unified Diff: third_party/WebKit/Source/core/svg/SVGUseElement.cpp

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: Created 3 years, 11 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/svg/SVGUseElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
index 8e70439ed39b5ad8b29e197ebc36f83fec078ca5..ce93141fc31647282b789d818d956be814bd24a1 100644
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
@@ -103,7 +103,7 @@ DEFINE_TRACE(SVGUseElement) {
DocumentResourceClient::trace(visitor);
}
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
static inline bool isWellFormedDocument(Document* document) {
if (document->isXMLDocument())
return static_cast<XMLDocumentParser*>(document->parser())->wellFormed();

Powered by Google App Engine
This is Rietveld 408576698