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

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

Issue 2319293004: Replace FilterEffect::maxEffectRect() with absoluteBounds() (Closed)
Patch Set: Add comment 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 b777eb13ea2dd0d977600bf0d07bcf1977c76771..71d3380621cfd36f2cec9b4cdd7caa53b073ca9e 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FETile.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FETile.cpp
@@ -40,7 +40,7 @@ FETile* FETile::create(Filter* filter)
FloatRect FETile::mapPaintRect(const FloatRect& rect, bool forward) const
{
- return forward ? maxEffectRect() : inputEffect(0)->maxEffectRect();
+ return forward ? absoluteBounds() : inputEffect(0)->absoluteBounds();
}
sk_sp<SkImageFilter> FETile::createImageFilter()

Powered by Google App Engine
This is Rietveld 408576698