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

Unified Diff: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp

Issue 2455703003: [SPInvalidation] Call LayoutObject::adjustVisualRectForRasterEffects from PaintInvalidator (Closed)
Patch Set: - Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
index 7fb526c8ae31bbf6c1f2f19a165845f8d38d4afe..cd98830f4ddb7408e05458963dc39a5c9ae1d67e 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
@@ -124,6 +124,9 @@ static PaintInvalidationRectInBacking mapLocalRectToPaintInvalidationBacking(
result.rect.moveBy(-containerContentsProperties.paintOffset);
}
+ if (object.adjustVisualRectForRasterEffects(result.rect))
+ result.coversExtraPixels = true;
+
if (context.paintInvalidationContainer->layer()->groupedMapping()) {
PaintLayer::mapRectInPaintInvalidationContainerToBacking(
*context.paintInvalidationContainer, result.rect);
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698