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

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

Issue 2738863002: Replace ASSERT with DCHECK in core/svg/ (Closed)
Patch Set: Split DCHECKS wherever possible Created 3 years, 9 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/SVGDiscardElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp b/third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp
index 30a152d780078ae1588c9f17c7e123e85df92c95..2f4a00117ae9315aefc24bcd9a66a00510ce27d7 100644
--- a/third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp
@@ -36,7 +36,7 @@ namespace blink {
inline SVGDiscardElement::SVGDiscardElement(Document& document)
: SVGSMILElement(SVGNames::discardTag, document) {
- ASSERT(RuntimeEnabledFeatures::smilEnabled());
+ DCHECK(RuntimeEnabledFeatures::smilEnabled());
}
DEFINE_NODE_FACTORY(SVGDiscardElement)
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGCircleElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698