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

Unified Diff: Source/platform/graphics/filters/FEDisplacementMap.cpp

Issue 1097053004: Drop some dead code from FilterEffect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | « Source/platform/graphics/filters/FEDisplacementMap.h ('k') | Source/platform/graphics/filters/FEFlood.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/filters/FEDisplacementMap.cpp
diff --git a/Source/platform/graphics/filters/FEDisplacementMap.cpp b/Source/platform/graphics/filters/FEDisplacementMap.cpp
index 571fdc4eafafd2a56cd5e04d2bdd9264ca27f24a..f5f5e46c48337107947e7b753513d9b4209f632a 100644
--- a/Source/platform/graphics/filters/FEDisplacementMap.cpp
+++ b/Source/platform/graphics/filters/FEDisplacementMap.cpp
@@ -93,15 +93,6 @@ bool FEDisplacementMap::setScale(float scale)
return true;
}
-void FEDisplacementMap::setResultColorSpace(ColorSpace)
-{
- // Spec: The 'color-interpolation-filters' property only applies to the 'in2' source image
- // and does not apply to the 'in' source image. The 'in' source image must remain in its
Stephen White 2015/04/20 15:35:43 This points out that there may be a bug in FEDispl
fs 2015/04/20 15:59:29 Yes, I noticed this discrepancy too... The commit
- // current color space.
- // The result is in that smae color space because it is a displacement of the 'in' image.
- FilterEffect::setResultColorSpace(inputEffect(0)->resultColorSpace());
-}
-
static SkDisplacementMapEffect::ChannelSelectorType toSkiaMode(ChannelSelectorType type)
{
switch (type) {
« no previous file with comments | « Source/platform/graphics/filters/FEDisplacementMap.h ('k') | Source/platform/graphics/filters/FEFlood.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698