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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FETile.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/FETile.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FETile.cpp b/third_party/WebKit/Source/platform/graphics/filters/FETile.cpp
index 71d3380621cfd36f2cec9b4cdd7caa53b073ca9e..9fa1ffa0b02d0aecdd1bb7e42435f8030dacc2f8 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FETile.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FETile.cpp
@@ -38,9 +38,9 @@ FETile* FETile::create(Filter* filter)
return new FETile(filter);
}
-FloatRect FETile::mapPaintRect(const FloatRect& rect, bool forward) const
+FloatRect FETile::mapInputs(const FloatRect& rect) const
{
- return forward ? absoluteBounds() : inputEffect(0)->absoluteBounds();
+ return absoluteBounds();
}
sk_sp<SkImageFilter> FETile::createImageFilter()

Powered by Google App Engine
This is Rietveld 408576698