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

Unified Diff: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.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
Index: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
index 5514ca0ce99c92270b580bfba02de414058c60a4..0152a5f831c0c4a00c0f49e87b967f96b30b8d18 100644
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
@@ -121,8 +121,10 @@ ClipRect PrePaintTreeWalk::clipRectForContext(
// TODO(chrishtr): remove need for this.
LayoutRect localRect(LayoutRect::infiniteIntRect());
- LayoutRect rect(m_geometryMapper.sourceToDestinationVisualRect(
- FloatRect(localRect), localState, ancestorState));
+ LayoutRect rect(m_geometryMapper
+ .sourceToDestinationVisualRect(FloatRect(localRect),
+ localState, ancestorState)
+ .rect());
rect.moveBy(-ancestorPaintOffset);
return rect;
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp ('k') | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698