Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.cpp
index cf580546b81190bead5031aeb5bb1a797cf2032f..feab27f0cf53099fa024ae087ec258ef068e7040 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.cpp
@@ -160,7 +160,7 @@ FloatRect FEDisplacementMap::determineAbsolutePaintRect(const FloatRect& request
{
FloatRect rect = requestedRect;
if (clipsToBounds())
- rect.intersect(maxEffectRect());
+ rect.intersect(absoluteBounds());
if (absolutePaintRect().contains(enclosingIntRect(rect)))
return rect;

Powered by Google App Engine