| Index: trunk/Source/core/platform/graphics/filters/FEMorphology.cpp
|
| ===================================================================
|
| --- trunk/Source/core/platform/graphics/filters/FEMorphology.cpp (revision 150368)
|
| +++ trunk/Source/core/platform/graphics/filters/FEMorphology.cpp (working copy)
|
| @@ -89,7 +89,10 @@
|
|
|
| void FEMorphology::determineAbsolutePaintRect()
|
| {
|
| - FloatRect paintRect = mapRect(inputEffect(0)->absolutePaintRect());
|
| + FloatRect paintRect = inputEffect(0)->absolutePaintRect();
|
| + Filter* filter = this->filter();
|
| + paintRect.inflateX(filter->applyHorizontalScale(m_radiusX));
|
| + paintRect.inflateY(filter->applyVerticalScale(m_radiusY));
|
| if (clipsToBounds())
|
| paintRect.intersect(maxEffectRect());
|
| else
|
| @@ -97,14 +100,6 @@
|
| setAbsolutePaintRect(enclosingIntRect(paintRect));
|
| }
|
|
|
| -FloatRect FEMorphology::mapRect(const FloatRect& rect, bool)
|
| -{
|
| - FloatRect result = rect;
|
| - result.inflateX(filter()->applyHorizontalScale(m_radiusX));
|
| - result.inflateY(filter()->applyVerticalScale(m_radiusY));
|
| - return result;
|
| -}
|
| -
|
| bool FEMorphology::setRadiusY(float radiusY)
|
| {
|
| if (m_radiusY == radiusY)
|
|
|