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

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

Issue 2341923002: Harmonize FilterEffect::mapRect and mapPaintRect (Closed)
Patch Set: Rebase 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/FEBoxReflect.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.cpp
index 824c04f6e7fba2ba7abd325a57cc74c3f16e55d7..f22d36af6e095a5d75fc24fb48302d6773573e4d 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.cpp
@@ -20,10 +20,8 @@ FEBoxReflect::~FEBoxReflect()
{
}
-FloatRect FEBoxReflect::mapRect(const FloatRect& rect, bool forward) const
+FloatRect FEBoxReflect::mapEffect(const FloatRect& rect) const
{
- // Reflection about any line is self-inverse, so this for both forward and
- // reverse mapping.
return m_reflection.mapRect(rect);
}

Powered by Google App Engine
This is Rietveld 408576698