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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEMerge.cpp

Issue 1368113002: Allow zero inputs for feMerge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase; Drop assert. Created 5 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFEMergeElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/filters/FEMerge.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEMerge.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEMerge.cpp
index 94b1c88d6869dca411ded54e32dbbb922b6dabd7..760a7b6bf26858911e49f806591d5c8b9e526f10 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEMerge.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEMerge.cpp
@@ -60,7 +60,6 @@ TextStream& FEMerge::externalRepresentation(TextStream& ts, int indent) const
ts << "[feMerge";
FilterEffect::externalRepresentation(ts);
unsigned size = numberOfEffectInputs();
- ASSERT(size > 0);
ts << " mergeNodes=\"" << size << "\"]\n";
for (unsigned i = 0; i < size; ++i)
inputEffect(i)->externalRepresentation(ts, indent + 1);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFEMergeElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698