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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEOffsetElement.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/SVGFEOffsetElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp
index 5f0e11c410e2754b5aca88f2b06e2bcb0485f26f..a1ddf70064f157ee82e7f5da3a721d7d8b9182f2 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp
@@ -64,7 +64,7 @@ FilterEffect* SVGFEOffsetElement::build(SVGFilterBuilder* filterBuilder,
Filter* filter) {
FilterEffect* input1 = filterBuilder->getEffectById(
AtomicString(m_in1->currentValue()->value()));
- ASSERT(input1);
+ DCHECK(input1);
FilterEffect* effect = FEOffset::create(filter, m_dx->currentValue()->value(),
m_dy->currentValue()->value());

Powered by Google App Engine
This is Rietveld 408576698