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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEComposite.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/FEComposite.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEComposite.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEComposite.cpp
index 6fd915bcb28f9d1bbb7faf174aa547d119293c15..05b90282bd219bd33d2d450c475ef7226972ce03 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEComposite.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEComposite.cpp
@@ -117,7 +117,7 @@ FloatRect FEComposite::determineAbsolutePaintRect(const FloatRect& originalReque
{
FloatRect requestedRect = originalRequestedRect;
if (clipsToBounds())
- requestedRect.intersect(maxEffectRect());
+ requestedRect.intersect(absoluteBounds());
// We may be called multiple times if result is used more than once. Return
// quickly if nothing new is required.

Powered by Google App Engine
This is Rietveld 408576698