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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFETileElement.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/SVGFETileElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFETileElement.cpp b/third_party/WebKit/Source/core/svg/SVGFETileElement.cpp
index 71d8ae03a565f73c72fc8746a4433a3455900476..d279d209b8949fad0cf271cdc767d80abd644943 100644
--- a/third_party/WebKit/Source/core/svg/SVGFETileElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFETileElement.cpp
@@ -53,7 +53,7 @@ FilterEffect* SVGFETileElement::build(SVGFilterBuilder* filterBuilder,
Filter* filter) {
FilterEffect* input1 = filterBuilder->getEffectById(
AtomicString(m_in1->currentValue()->value()));
- ASSERT(input1);
+ DCHECK(input1);
FilterEffect* effect = FETile::create(filter);
effect->inputEffects().push_back(input1);

Powered by Google App Engine
This is Rietveld 408576698