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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPainter.h

Issue 2194273002: Fix border radius on composited children. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improve clip recording code Created 4 years, 1 month 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/PaintLayerPainter.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.h b/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
index b767e7a5d41d579d0c8b88d959678c5574516c12..e802d63a5384e5950c35b5cb89ad1dc1f5e390c2 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
@@ -139,6 +139,11 @@ class CORE_EXPORT PaintLayerPainter {
bool shouldPaintLayerInSoftwareMode(const GlobalPaintFlags,
PaintLayerFlags paintFlags);
+ // Convert a fragmentOffset from the coordinate system of this painter's
+ // layer to the coordinate system of the layer in which it's border radius
+ // clip rect is defined, for painting composited children using mask layers.
+ LayoutPoint fragmentOffsetForAncestorClipMask(const LayoutPoint&);
+
PaintLayer& m_paintLayer;
};

Powered by Google App Engine
This is Rietveld 408576698