Chromium Code Reviews| 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) { |