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

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

Issue 2341923002: Harmonize FilterEffect::mapRect and mapPaintRect (Closed)
Patch Set: Baselines Created 4 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
Index: third_party/WebKit/Source/platform/graphics/filters/FEMorphology.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.cpp
index c63c6db33a4ddabe7565e0e284dc40147a77a43a..12f715c8e67f5689fa11d8ae8a909d87e29e766c 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEMorphology.cpp
@@ -85,7 +85,7 @@ bool FEMorphology::setRadiusY(float radiusY)
return true;
}
-FloatRect FEMorphology::mapRect(const FloatRect& rect, bool) const
+FloatRect FEMorphology::mapEffect(const FloatRect& rect) const
{
FloatRect result = rect;
result.inflateX(getFilter()->applyHorizontalScale(m_radiusX));

Powered by Google App Engine
This is Rietveld 408576698