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

Unified Diff: WebCore/platform/graphics/filters/FEBlend.cpp

Issue 4133004: Merge 70652 - 2010-10-27 Justin Schuh <jschuh@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 2 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 | « LayoutTests/svg/filters/feBlend-invalid-mode-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/platform/graphics/filters/FEBlend.cpp
===================================================================
--- WebCore/platform/graphics/filters/FEBlend.cpp (revision 70726)
+++ WebCore/platform/graphics/filters/FEBlend.cpp (working copy)
@@ -105,7 +105,7 @@
if (!m_in->resultImage() || !m_in2->resultImage())
return;
- if (m_mode == FEBLEND_MODE_UNKNOWN)
+ if (m_mode <= FEBLEND_MODE_UNKNOWN || m_mode > FEBLEND_MODE_LIGHTEN)
return;
if (!getEffectContext())
« no previous file with comments | « LayoutTests/svg/filters/feBlend-invalid-mode-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698