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

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

Issue 2341923002: Harmonize FilterEffect::mapRect and mapPaintRect (Closed)
Patch Set: Baselines (again) 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..ea41cd58f73b4b30c8d2bdba618720586c5cf2c1 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.cpp
@@ -20,7 +20,7 @@ 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
Stephen White 2016/09/20 15:36:19 Nit: probably could remove this comment, since we
fs 2016/09/20 19:14:14 Removed.
// reverse mapping.

Powered by Google App Engine
This is Rietveld 408576698