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

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. 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/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
This is Rietveld 408576698