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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.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/graphics/filters/SVGFilterBuilder.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
index b5fbe5500f70211b6613175840ccaa85459c5235..8a60cddb77b410dd667f26c62525937c7cfab0ae 100644
--- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
@@ -70,8 +70,8 @@ void SVGFilterGraphNodeMap::addBuiltinEffect(FilterEffect* effect) {
void SVGFilterGraphNodeMap::addPrimitive(LayoutObject* object,
FilterEffect* effect) {
// The effect must be a newly created filter effect.
- ASSERT(!m_effectReferences.contains(effect));
- ASSERT(!object || !m_effectRenderer.contains(object));
+ DCHECK(!m_effectReferences.contains(effect));
+ DCHECK(!object || !m_effectRenderer.contains(object));
m_effectReferences.insert(effect, FilterEffectSet());
unsigned numberOfInputEffects = effect->inputEffects().size();

Powered by Google App Engine
This is Rietveld 408576698