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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.cpp

Issue 1855303002: Replace filter outsets with bounds mapping in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: senorblanco review comments Created 4 years, 8 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/core/layout/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index 9655aac8a07ee74ede97abbb5aa82cc18d1b38e5..ed475b416b4aa9411b2200b5370aeb38e6485e27 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -2015,7 +2015,7 @@ void LayoutBox::inflatePaintInvalidationRectForReflectionAndFilter(LayoutRect& p
paintInvalidationRect.unite(reflectedRect(paintInvalidationRect));
if (layer() && layer()->hasFilterInducingProperty())
- paintInvalidationRect.expand(layer()->filterOutsets());
+ paintInvalidationRect = layer()->mapLayoutRectForFilter(paintInvalidationRect);
}
void LayoutBox::invalidatePaintForOverhangingFloats(bool)
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698