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

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

Issue 2678263002: Plumb border radius through when computing clip visual rects. (Closed)
Patch Set: none Created 3 years, 10 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 | « no previous file | third_party/WebKit/Source/core/paint/PaintLayerClipper.h » ('j') | 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 162dba32b6183e8b0deb73e4ab29ff2b4d503dc2..26e563676eb6fcfb1852344ebcb38a311f5740bb 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
@@ -117,8 +117,11 @@ static LayoutRect mapLocalRectToPaintInvalidationBacking(
PropertyTreeState currentTreeState(
context.treeBuilderContext.current.transform,
context.treeBuilderContext.current.clip, nullptr);
- result = LayoutRect(geometryMapper.sourceToDestinationVisualRect(
- FloatRect(rect), currentTreeState, *containerContentsProperties));
+ result = LayoutRect(
+ geometryMapper
+ .sourceToDestinationVisualRect(FloatRect(rect), currentTreeState,
+ *containerContentsProperties)
+ .rect());
}
// Convert the result to the container's contents space.
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintLayerClipper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698